Skip to content

Commit a85f743

Browse files
committed
CI: Disallow all warnings in cargo deny
This right now entails mostly `unmatched-skip` / `unmatched-skip-root` that have (likely) gotten stale since various automated Renovate bumps where `Cargo.lock` changes don't require the corresponding unmatched duplicate to be removed from `.deny.toml` again. An exception has been made for `unmatched-organization` since we don't always have a `git` dependency on a fork in `gfx-rs`, resulting in a warning about that orga being in `sources.allow-org.github`.
1 parent 8c4aebc commit a85f743

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,7 @@ jobs:
746746
with:
747747
command: check advisories
748748
arguments: --all-features --workspace
749+
command-arguments: -Dwarnings -Aunmatched-organization
749750
rust-version: ${{ env.REPO_MSRV }}
750751

751752
cargo-deny-check-rest:
@@ -763,4 +764,5 @@ jobs:
763764
with:
764765
command: check bans licenses sources
765766
arguments: --all-features --workspace
767+
command-arguments: -Dwarnings -Aunmatched-organization
766768
rust-version: ${{ env.REPO_MSRV }}

0 commit comments

Comments
 (0)