cargo
cargo copied to clipboard
Node.js 12 actions are deprecated. Please use Node.js 16
Do the checklist before filing an issue:
- [x] Is this related to the
actions-rsActions? If you think it's a problem related to Github Actions in general, use GitHub Community forum instead: https://github.community - [x] You've read the Contributing section about bugs reporting: https://github.com/actions-rs/.github/blob/master/CONTRIBUTING.md#reporting-bugs
- [ ] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
Description
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions-rs/cargo, actions-rs/cargo, actions-rs/cargo, actions-rs/cargo, actions-rs/cargo, actions-rs/cargoShow less
## Workflow code
Paste that part of your workflow yaml file that causes the bug in here.
Alternatively you can remove that code block and insert direct link to your workflow file.
Ensure that link points to the specific commit, and not just to the master branch.
Action output
Copy and paste Action output logs in here.
How else can you help on that step:
1. Enable debug logs first: https://github.com/actions/toolkit/blob/master/docs/action-debugging.md
2. Re-run the job
2. Download logs archive for job run and attach it to this issue
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
Any update on this?
Ping
@shepmaster: Why the thumbs down on the "Ping"? This issue is causing problems and there is no response from the action maintainers?
Unfortunately it seems that the whole actions-rs suite has been abandoned (see discussion in https://github.com/actions-rs/toolchain/issues/216).
Luckily most use cases no longer benefit from using this action and can just be replaced with run: cargo <args>
In case anyone's interested, I forked this Action and published a working version that uses node16: clechasseur/rs-cargo.
Since I also forked the core repository and updated it, I plan on forking some other Actions (notably clippy-check). Probably not toolchain since that seems to be covered well enough already.