Skip to content

Commit

Permalink
chore: try toolchain setting again
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Oct 18, 2023
1 parent f5c3357 commit 161ea3c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 161ea3c

Please sign in to comment.