clippy: Only enforce 'correctness' lints, just print the rest

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.
This commit is contained in:
Martin Nordholts 2020-12-28 11:13:07 +01:00 committed by David Peter
parent 28f3f3c9c9
commit 2765c6ba3b
1 changed files with 1 additions and 1 deletions

View File

@ -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: