cargo icon indicating copy to clipboard operation
cargo copied to clipboard

Node.js 12 actions are deprecated. Please use Node.js 16

Open jiangying000 opened this issue 3 years ago • 5 comments

Do the checklist before filing an issue:

  • [x] Is this related to the actions-rs Actions? 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.

jiangying000 avatar Oct 09 '22 08:10 jiangying000

Any update on this?

hustcer avatar Oct 21 '22 06:10 hustcer

Ping

ximon18 avatar Nov 01 '22 19:11 ximon18

@shepmaster: Why the thumbs down on the "Ping"? This issue is causing problems and there is no response from the action maintainers?

ximon18 avatar Nov 02 '22 10:11 ximon18

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>

gbhand avatar Nov 28 '22 22:11 gbhand

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.

clechasseur avatar Aug 06 '23 04:08 clechasseur