Skip to content

Commit

Permalink
clippy: Only enforce 'correctness' lints, just print the rest
Browse files Browse the repository at this point in the history
Only the 'correctness' category of lints are 'deny' by default. This is
the only clippy lints we want to enforce for now. The other ones we just
want to print in the logs. So remove any --deny and --allow arguments.
See discussion in #1410.
  • Loading branch information
Enselic authored and sharkdp committed Dec 28, 2020
1 parent 28f3f3c commit 2765c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --all-features -- --deny warnings --allow clippy::new-without-default --allow clippy::match-bool --allow clippy::if_same_then_else
args: --all-targets --all-features
- name: Test
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 2765c6b

Please sign in to comment.