Skip to content

Commit 872ce93

Browse files
sarroutbiclaude
andcommitted
Fix no-warnings CI workflow
Rename workflow from "Rust" to "No-Warnings Compilation" to avoid collision with rust.yml, add --no-run to cargo test so it only checks compilation, and remove the duplicate clippy step since --all-targets already includes test targets. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
1 parent 3d51ebc commit 872ce93

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/compile-no-warnings.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Rust
2+
name: No-Warnings Compilation
33

44
"on":
55
push:
@@ -21,8 +21,6 @@ jobs:
2121
- name: Check compilation (no warnings)
2222
run: RUSTFLAGS="-D warnings" cargo build
2323
- name: Check test compilation (no warnings)
24-
run: RUSTFLAGS="-D warnings" cargo test
24+
run: RUSTFLAGS="-D warnings" cargo test --no-run
2525
- name: Check clippy errors (no warnings included)
2626
run: cargo clippy --all-features --all-targets -- -D clippy::all -D warnings
27-
- name: Check clippy test errors (no warnings included)
28-
run: cargo clippy --all-features --all-targets --tests -- -D clippy::all -D warnings

0 commit comments

Comments
 (0)