Fix overly strict clippy lint (#172)

Deny style, suspicious and complexity categories, rather than all
warnings

If we find issues that could have been caught by a clippy lint we can
add that lint on as *deny* too, as for now, they still appear as
warnings but won't prevent CI from running.

This most notably fixes random CI breakages when clippy/rust updates and
introduces new warn level lints
This commit is contained in:
Freja Roberts 2024-05-16 14:43:04 +02:00 committed by GitHub
parent aed87e4eb0
commit a0f3f641df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,8 +135,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --all-features -- -D warnings
args: --all-targets --all-features -- -D clippy::style -D clippy::suspiscious -D clippy::complexity
miri:
name: Miri
runs-on: ubuntu-latest