From 161ea3c3bb3cd15fb5dd229b2911373691f42691 Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Wed, 18 Oct 2023 13:21:54 +0200 Subject: [PATCH] chore: try toolchain setting again --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50abf9d..2c864e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,14 +10,15 @@ env: jobs: set-msrv: runs-on: ubuntu-latest + outputs: + msrv: ${{ steps.msrv.outputs.MSRV }} steps: - uses: actions/checkout@v4 - name: Extract MSRV from Cargo.toml run: MSRV=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].rust_version') - name: Set MSRV as output id: msrv - #run: echo "MSRV=$MSRV" >> "$GITHUB_OUTPUT" - run: echo "MSRV=1.70" >> "$GITHUB_OUTPUT" + run: echo "MSRV=$MSRV" >> "$GITHUB_OUTPUT" ## NOTE vmx 2022-06-14: currently doesn't work, hence run it on CircleCI ## for now. @@ -148,8 +149,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: - #toolchain: ${{needs.set-msrv.steps.msrv.outputs.MSRV}} - toolchain: 1.67.1 + toolchain: ${{needs.set-msrv.outputs.msrv}} components: clippy - name: Run Clippy run: cargo clippy --workspace --all-targets --no-default-features --features blst,multicore -- -D warnings