Skip to content

Commit 2ef2006

Browse files
authored
Merge pull request #1925 from EliahKagan/run-ci/deny-workspace
Fix `cargo deny` commands so they scan the whole workspace
2 parents 420e730 + 039319d commit 2ef2006

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ jobs:
344344
- uses: actions/checkout@v4
345345
- uses: EmbarkStudios/cargo-deny-action@v2
346346
with:
347+
arguments: --workspace --all-features
347348
command: check advisories
348349

349350
cargo-deny:
@@ -353,6 +354,7 @@ jobs:
353354
- uses: actions/checkout@v4
354355
- uses: EmbarkStudios/cargo-deny-action@v2
355356
with:
357+
arguments: --workspace --all-features
356358
command: check bans licenses sources
357359

358360
wasm:

justfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ nix-shell-macos:
240240

241241
# Run various auditing tools to help us stay legal and safe
242242
audit:
243-
cargo deny check advisories bans licenses sources
243+
cargo deny --workspace --all-features check advisories bans licenses sources
244244

245245
# Run tests with `cargo nextest` (all unit-tests, no doc-tests, faster)
246246
nextest *FLAGS='--workspace':

0 commit comments

Comments
 (0)