Skip to content

Commit f802645

Browse files
manan19claude
andcommitted
ci(codeql): drop -Dwarnings from cargo check warm-up
The eth-signature-verifier path dep emits an unused-import warning that fails the check under -Dwarnings. The warm-up exists only to populate the target dir + dep graph for rust-analyzer; warnings are irrelevant. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 79b822b commit f802645

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/codeql.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ jobs:
5757

5858
# Warm the target dir + fetch all deps so the buildless extractor (rust-analyzer)
5959
# has a fully resolvable workspace when it runs `cargo metadata`.
60+
# No -Dwarnings here: path-dep crates like eth-signature-verifier emit warnings
61+
# that would fail the check but are irrelevant to CodeQL extraction.
6062
- name: cargo check
6163
working-directory: ./snapchain
62-
env:
63-
RUSTFLAGS: "-Dwarnings -A mismatched_lifetime_syntaxes"
6464
run: cargo check --workspace --all-targets --locked
6565

6666
- name: Initialize CodeQL

0 commit comments

Comments
 (0)