@@ -344,10 +344,28 @@ jobs:
344
344
345
345
steps :
346
346
- uses : actions/checkout@v4
347
- - uses : EmbarkStudios/cargo-deny-action@v2
347
+ - name : Install tomlq
348
+ run : |
349
+ # The runner already has the `yq` command but not its associated `tomlq` command.
350
+ sudo apt-get update
351
+ sudo apt-get install yq
352
+ - name : Strict check, but omit gix-testtools
353
+ uses : EmbarkStudios/cargo-deny-action@v2
354
+ with :
355
+ command : check advisories
356
+ arguments : --workspace --all-features --exclude gix-testtools
357
+ - name : Configure less strict check
358
+ run : |
359
+ filter='.advisories.ignore += [
360
+ { id: "RUSTSEC-2025-0021", reason: "gix-testtools can’t upgrade from old gix-features yet" }
361
+ ]'
362
+ tomlq "$filter" deny.toml --toml-output > deny-but-ignore-RUSTSEC-2025-0021.toml
363
+ - name : Less strict check, but include gix-testtools
364
+ uses : EmbarkStudios/cargo-deny-action@v2
348
365
with :
349
- arguments : --workspace --all-features
350
366
command : check advisories
367
+ arguments : --workspace --all-features
368
+ command-arguments : --config deny-but-ignore-RUSTSEC-2025-0021.toml
351
369
352
370
cargo-deny :
353
371
runs-on : ubuntu-latest
@@ -356,8 +374,8 @@ jobs:
356
374
- uses : actions/checkout@v4
357
375
- uses : EmbarkStudios/cargo-deny-action@v2
358
376
with :
359
- arguments : --workspace --all-features
360
377
command : check bans licenses sources
378
+ arguments : --workspace --all-features
361
379
362
380
wasm :
363
381
name : WebAssembly
0 commit comments