-
Notifications
You must be signed in to change notification settings - Fork 90
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
Replace deprecated workflow functions #1108
Conversation
Co-authored-by: Philipp Gackstatter <[email protected]>
Co-authored-by: Philipp Gackstatter <[email protected]>
57a2ffb
to
55c3b36
Compare
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.
Looks good to me, thanks!
@@ -58,4 +58,4 @@ jobs: | |||
dprint check | |||
|
|||
- name: cargo-license-template check | |||
run: cargo license-template --template .license_template --ignore .license_template_ignore --verbose | |||
run: cargo +nightly license-template --template .license_template --ignore .license_template_ignore --verbose |
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.
Probably doesn't matter if run with nightly
because license-template should be agnostic over the environment, but also shouldn't be a problem.
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.
Thanks for fixing this!
Description of change
Central workflow actions we use setup our rust tooling in CI have been unmaintained for a while. We need to move away from them since some of their dependencies and assumptions have bee deprecated by GitHub and might cease to work in the future.
The two noteworthy deprecations are:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
Some alternatives (and general dissatisfaction) have been discussed in issues in the actions repositories:
actions-rs/toolchain#221
actions-rs/toolchain#219
Note:
We still need to find a replacement for actions-rs/audit-check which runs
cargo-audit
in the background, but also handles GitHub specific reporting.The changes in this PR address the deprecations in our code and replace the
actions-rs
actions. The toolchain setup is now done through a custom action in all places.Type of change
Add an
x
to the boxes that are relevant to your changes.How the change has been tested
CI passes, although some workflows will only be triggered during a release, so there is some potential for things breaking still.
Change checklist
Add an
x
to the boxes that are relevant to your changes.