diff --git a/.github/workflows/test_rust.yml b/.github/workflows/test_rust.yml index 3d26cdc85b4d..2ceb78758b2f 100644 --- a/.github/workflows/test_rust.yml +++ b/.github/workflows/test_rust.yml @@ -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') || '' }}