Skip to content

Commit

Permalink
ci: Only run clippy on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian17 committed Sep 7, 2023
1 parent f1a8fa8 commit 0e507e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ jobs:
run: cargo fmt --all -- --check

- name: Check clippy
# not critical on other platforms, and slows down Windows
if: runner.os == 'Linux'
# Don't fail the build for clippy on nightly, since we get a lot of false-positives
run: cargo clippy --all --all-features --tests ${{ (matrix.rust_version != 'nightly' && '-- -D warnings') || '' }}

Expand Down

0 comments on commit 0e507e8

Please sign in to comment.