Skip to content

Commit

Permalink
ci: Change lint action to -D warnings
Browse files Browse the repository at this point in the history
Currently, the lint action specifies `-D clippy::all`. This means that if we enable any additional lints in the code, e.g. by adding `#![warn(clippy::pedantic)]` to the `main` module, these lints will not fail CI. By specifying `-D warnings` instead, any lints we enable as warnings in code will fail CI.
  • Loading branch information
szokeasaurusrex committed Jan 23, 2025
1 parent 4278c53 commit d8dc3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: cargo fmt --all -- --check

- name: Run Clippy
run: cargo clippy --workspace --tests -- -D clippy::all
run: cargo clippy --workspace --tests -- -D warnings

test:
strategy:
Expand Down

0 comments on commit d8dc3c9

Please sign in to comment.