From 8a31b378c29a64ed5a9fed8ab55356a20150fc26 Mon Sep 17 00:00:00 2001 From: Yuchen Wu Date: Mon, 23 Sep 2024 08:28:28 -0700 Subject: [PATCH] Only run clippy on the latest stable Rust Otherwise it requires extra attend for deprecated clippy rules --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9fa13903..01c90c1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: |