Skip to content

Commit 0e507e8

Browse files
committed
ci: Only run clippy on Linux
1 parent f1a8fa8 commit 0e507e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test_rust.yml

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ jobs:
7171
run: cargo fmt --all -- --check
7272

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

0 commit comments

Comments
 (0)