Skip to content

Commit ce05cff

Browse files
committed
ci: Show all clippy warnings before failing
1 parent 074a8e1 commit ce05cff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/TestingCI.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ jobs:
2828
- name: Check formatting
2929
run: cargo fmt --all -- --check
3030
- name: Clippy
31-
run: cargo clippy --all-targets -- -D warnings
31+
run: |
32+
# First pass: show all warnings (don't fail)
33+
cargo clippy --all-targets 2>&1 || true
34+
# Second pass: fail if any warnings exist
35+
cargo clippy --all-targets -- -D warnings
3236
3337
linux-ubuntu:
3438
needs: lint

0 commit comments

Comments
 (0)