Skip to content

Commit

Permalink
Use newer nightly in check-semver (paritytech#4895)
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
2 people authored and TarekkMA committed Aug 2, 2024
1 parent c07270a commit 74999d5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/check-semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- prdoc/*.prdoc
env:
TOOLCHAIN: nightly-2024-03-01

jobs:
check-semver:
Expand All @@ -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: |
Expand All @@ -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 <<EOF
👋 Hello developer! The SemVer information that you declared in the prdoc file did not match what the CI detected.
Expand Down

0 comments on commit 74999d5

Please sign in to comment.