From 668bfb8612af22e2c2329cf6b74d87768dd31373 Mon Sep 17 00:00:00 2001 From: peg Date: Tue, 25 Aug 2026 11:21:00 +0200 Subject: [PATCH] Run clippy on stable in CI to avoid issue with it failing with dependencies --- .github/workflows/test.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b142a59..81bbb78 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,11 +19,13 @@ jobs: - name: Set up stable Rust uses: dtolnay/rust-toolchain@stable + with: + components: clippy - - name: Set up nightly Rust for clippy/fmt + - name: Set up nightly Rust for formatting uses: dtolnay/rust-toolchain@nightly with: - components: rustfmt, clippy + components: rustfmt - name: Cache dependencies uses: actions/cache@v3 @@ -39,8 +41,8 @@ jobs: - name: Check formatting using nightly run: cargo +nightly fmt --all -- --check - - name: Run cargo clippy using nightly - run: cargo +nightly clippy --workspace --features azure-attester -- -D warnings + - name: Run cargo clippy using stable + run: cargo +stable clippy --workspace --features azure-attester -- -D warnings - name: Run cargo test run: cargo test --workspace --features azure-attester --all-targets