Skip to content

Commit

Permalink
workflow now fails if clippy returns warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
adamperkowski committed Sep 20, 2024
1 parent 26a8d3d commit dd8d8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
restore-keys: ${{ runner.os }}-cargo-index-

- name: Run cargo clippy
run: cargo clippy
run: cargo clippy -- -Dwarnings

- name: Run cargo fmt
run: cargo fmt --all --check

0 comments on commit dd8d8dd

Please sign in to comment.