From bf285afcb8a01031709a7fc0361994467334b8de Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Wed, 18 Oct 2023 13:12:14 +0200 Subject: [PATCH] chore: try to set MSRV for the Clippy jobs --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7849970..ef4ba18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,21 +141,25 @@ jobs: - run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,multicore,blst-portable clippy_check_blst: + needs: set-msrv runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: + toolchain: ${{needs.set-msrv.steps.msrv.outputs.MSRV}} components: clippy - name: Run Clippy run: cargo clippy --workspace --all-targets --no-default-features --features blst,multicore -- -D warnings clippy_check_pairing: + needs: set-msrv runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: + toolchain: ${{needs.set-msrv.steps.msrv.outputs.MSRV}} components: clippy - name: Run Clippy run: cargo clippy --workspace --all-targets -- -D warnings