Skip to content

Commit d0bcb7e

Browse files
authored
CI: Disallow all warnings in cargo deny and prune unmatched skips (#8283)
The warnings right now all entail `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 d0bcb7e

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.deny.toml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,10 @@ multiple-versions = "deny"
33
skip-tree = [
44
{ name = "windows-sys", version = "0.45" },
55
{ name = "winit", version = "0.29" },
6-
{ name = "rustc_version", version = "0.2.3" },
7-
{ name = "miniz_oxide", version = "0.7.4" },
86
{ name = "rustc-hash", version = "1.1.0" },
97

108
# introduced by Deno, to be investigated
11-
{ name = "strum_macros", version = "0.25.3" },
129
{ name = "petgraph", version = "0.6.5" },
13-
{ name = "base64-simd", version = "0.7.0" },
14-
{ name = "bit-set", version = "0.5.3" },
15-
{ name = "bit-vec", version = "0.6.3" },
16-
{ name = "capacity_builder", version = "0.1.3" },
1710
]
1811
skip = [
1912
# Flume uses an old version
@@ -35,11 +28,8 @@ skip = [
3528
{ name = "ordered-float", version = "2.10.1" },
3629
# bindgen (used by deno) uses old version
3730
{ name = "itertools", version = "0.13.0" },
38-
# Strum uses an old version
39-
{ name = "heck", version = "0.4.0" },
4031
# Deno uses an old version
4132
{ name = "bincode", version = "1.3.3" },
42-
{ name = "strum", version = "0.25.0" },
4333
]
4434
wildcards = "deny"
4535
allow-wildcard-paths = true

.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)