From 11a3b349353ef40205b8e6ea2cd714d06ec48c04 Mon Sep 17 00:00:00 2001 From: Martin Hoffmann Date: Wed, 24 Nov 2021 12:05:41 +0100 Subject: [PATCH] CI: Only run Clippy on stable and nightly. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0b1f3ce..66d8a444 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,9 @@ jobs: uses: hecrj/setup-rust-action@v1 with: rust-version: ${{ matrix.rust }} - - if: matrix.rust != 'beta' + - if: matrix.rust == 'stable' || matrix.rust == "nightly" run: rustup component add clippy - - if: matrix.rust != 'beta' + - if: matrix.rust == 'stable' || matrix.rust == "nightly" run: cargo clippy --all-features -- -D warnings - if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest' run: cargo fmt --all -- --check