Skip to content

Commit

Permalink
Fix overly strict clippy lint (#172)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ten3roberts committed May 16, 2024
1 parent aed87e4 commit a0f3f64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a0f3f64

Please sign in to comment.