-
Notifications
You must be signed in to change notification settings - Fork 710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix semver job by updating cargo toolchain #6283
base: master
Are you sure you want to change the base?
Conversation
workflow_dispatch: | ||
|
||
concurrency: | ||
group: check-semver-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
TOOLCHAIN: nightly-2024-06-01 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We needed to lock this to a specific nightly since the https://github.com/paritytech/parity-publish only supports a specific version.
Not sure if this will still work now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm so there is a mapping between parity-publish and supported nightly? Disabled merge for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea it uses some docs export feature from nighly, but it reads like the newest version can also handle stable: https://github.com/obi1kenobi/cargo-semver-checks/releases/tag/v0.36.0#:~:text=all%20stable%20Rust%20versions
Just need to update our parity tool.
Changes here #6254 broke the semver job: https://github.com/paritytech/polkadot-sdk/actions/runs/11590030127/job/32266861391?pr=5891
Because it is using an old nightly without
PanicHookInfo
. Attempting to fix this by changing to stable. We can also use newer nightly, but reasons for nightly are unclear to me currently.