Skip to content
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

Update GitHub actions in basic CI example #342

Merged
merged 2 commits into from
Apr 19, 2024

Conversation

naglis
Copy link
Contributor

@naglis naglis commented Apr 19, 2024

This updates the checkout action version to the latest (v4), since v2 produces warnings about deprecated Node.js version.

Also, the use of actions-rs/toolchain is removed as the action is no longer maintained. AFAICT, rustup is available in GitHub runners, but I am not sure if an extra step like rustup update stable && rustup default stable is necessary in the worklow? Please let me know if it should be added.

naglis added 2 commits April 19, 2024 09:07
v2 produces deprecation warnings regarding outdated Node.js.
The `actions-rs/toolchain` action is no longer maintained[1].

[1]: https://github.com/actions-rs/toolchain
@sourcefrog
Copy link
Owner

Thanks!

I think in my workflows I would still run rustup because Rust in the image can be a bit old. But it's probably not essential for an example file.

@sourcefrog sourcefrog merged commit c2ce56e into sourcefrog:main Apr 19, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants