Skip to content

Commit

Permalink
Only run clippy on the latest stable Rust
Browse files Browse the repository at this point in the history
Otherwise it requires extra attend for deprecated clippy rules
  • Loading branch information
eaufavor committed Sep 23, 2024
1 parent 0df7b0d commit 8a31b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Run cargo clippy
run: |
[[ ${{ matrix.toolchain }} == nightly ]] || cargo clippy --all-targets --all -- --allow=unknown-lints --deny=warnings
[[ ${{ matrix.toolchain }} != 1.80 ]] || cargo clippy --all-targets --all -- --allow=unknown-lints --deny=warnings
- name: Run cargo audit
run: |
Expand Down

0 comments on commit 8a31b37

Please sign in to comment.