Closed
Description
On tests, release scripts and other GitHub actions we see the following warning message now:
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-python@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Node 12 has been out of support since [April 2022](https://github.com/nodejs/Release/#end-of-life-releases), as a result we have started the deprecation process of Node 12 for GitHub Actions. We plan to migrate all actions to run on Node16 by Summer 2023.
...
What you need to do
For Actions users: Update your workflows with latest versions of the actions which runs on Node 16 ([Using versions for Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-versioned-actions))
For us this is:
v3 of https://github.com/actions/checkout/ seems to be upgraded to latest node 16: actions/checkout@v2.4.2...v3.0.2#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R17-R18
We might want to look at the CHANGELOG too for possible breaking changes too potentially.
I've tested this on my fork of scancode-toolkit with aboutcode-org/scancode-toolkit@1448e66: and the doc and release script tests pass allright, here are some links to the actions before and after this update
Before:
- https://github.com/AyanSinhaMahapatra/scancode-toolkit/actions/runs/5050474344
- https://github.com/AyanSinhaMahapatra/scancode-toolkit/actions/runs/5050474343
- https://github.com/AyanSinhaMahapatra/scancode-toolkit/actions/runs/5050474341
After:
- https://github.com/AyanSinhaMahapatra/scancode-toolkit/actions/runs/5050684894
- https://github.com/AyanSinhaMahapatra/scancode-toolkit/actions/runs/5050684893
- https://github.com/AyanSinhaMahapatra/scancode-toolkit/actions/runs/5050684892
There are other github actions we use btw (which we use the latest versions of):
- actions/download-artifact@v3
- actions/upload-artifact@v3
- softprops/action-gh-release@v1
Metadata
Metadata
Assignees
Labels
No labels
Activity
AyanSinhaMahapatra commentedon May 26, 2023
We also have this for
pypa/gh-action-pypi-publish@masterwhich needs to be updated topypa/gh-action-pypi-publish@release/v1:Bump github actions versions #75
Bump github actions versions #75
Bump github actions versions #75
Merge pull request #78 from nexB/update-github-actions
pombredanne commentedon Jul 8, 2023
I created the new elf-inspector repo and I am still getting the issue:
Has the the GH action been updated in the skeletton?
AyanSinhaMahapatra commentedon Jul 10, 2023
Yeah we still have this here: https://github.com/nexB/skeleton/blob/main/.github/workflows/pypi-release.yml#L81
Update github actions
Bump github actions versions #75
Update github actions
Add initial code and update skeleton files (#26)
AyanSinhaMahapatra commentedon Apr 16, 2026
#103
Bump github actions versions aboutcode-org#75
Update github actions