From e3a22e11e41368199df254034531d3d6cebe3bc6 Mon Sep 17 00:00:00 2001 From: Adam Hellberg Date: Tue, 22 Oct 2024 17:59:17 +0200 Subject: [PATCH] Only run strict lint check on stable Rust --- .github/workflows/lint.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cfc8d4c..ecafe16 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,5 +26,10 @@ jobs: - name: Run cargo fmt run: cargo fmt --all --check --verbose - uses: clechasseur/rs-clippy-check@v3 + if: matrix.rust == 'stable' with: args: --all-features -- -D warnings + - uses: clechasseur/rs-clippy-check@v3 + if: matrix.rust != 'stable' + with: + args: --all-features -- -W warnings