Skip to content

Commit d8879ff

Browse files
committed
Add the cargo deny checks to CI and the main test suite.
1 parent a85f8df commit d8879ff

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/freebsd.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ jobs:
2121
copyback: false
2222
prepare: pkg install -y bash curl lang/rust devel/llvm-devel
2323
run: |
24-
cargo build --all --all-targets --verbose
24+
cargo build --all --all-targets --verbose
25+
cargo install cargo-deny
26+
cargo deny check licenses
27+
cargo deny check bans
2528
curl https://sh.rustup.rs -sSf > rustup.sh
2629
sh rustup.sh -y
2730
. $HOME/.cargo/env

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ pytest:
200200
$(SHOW)MODULE=$(abspath $(TARGET)) $(realpath ./tests/pytest/tests.sh)
201201

202202
cargo_test:
203+
$(SHOW)cargo deny check licenses
204+
$(SHOW)cargo deny check bans
203205
$(SHOW)cargo $(CARGO_TOOLCHAIN) test --all
204206

205207
.PHONY: pytest cargo_test

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy