From 74999d5b7399893d1a589a46a9e0e38d2d23ae62 Mon Sep 17 00:00:00 2001 From: Lulu Date: Thu, 27 Jun 2024 14:17:27 +0100 Subject: [PATCH] Use newer nightly in check-semver (#4895) Co-authored-by: Oliver Tale-Yazdi --- .github/workflows/check-semver.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-semver.yml b/.github/workflows/check-semver.yml index 12f2149cdf249..47f9e5061b4ae 100644 --- a/.github/workflows/check-semver.yml +++ b/.github/workflows/check-semver.yml @@ -5,6 +5,8 @@ on: types: [opened, synchronize, reopened, ready_for_review] paths: - prdoc/*.prdoc +env: + TOOLCHAIN: nightly-2024-03-01 jobs: check-semver: @@ -24,9 +26,9 @@ jobs: - name: Rust compilation prerequisites run: | - rustup default $(parity-publish semver --minimum-nightly-rust-version) - rustup target add wasm32-unknown-unknown --toolchain $(parity-publish semver --minimum-nightly-rust-version) - rustup component add rust-src --toolchain $(parity-publish semver --minimum-nightly-rust-version) + rustup default $TOOLCHAIN + rustup target add wasm32-unknown-unknown --toolchain $TOOLCHAIN + rustup component add rust-src --toolchain $TOOLCHAIN - name: extra git setup run: | @@ -39,7 +41,7 @@ jobs: export CARGO_TARGET_DIR=target export RUSTFLAGS='-A warnings -A missing_docs' export SKIP_WASM_BUILD=1 - if ! parity-publish --color always prdoc --since old --validate prdoc/pr_$PR.prdoc -v; then + if ! parity-publish --color always prdoc --since old --validate prdoc/pr_$PR.prdoc -v --toolchain $TOOLCHAIN; then cat <