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

pre-commit/action@v3.0.0 Depends on actions/cache@v3 which is using Node 16 which is now deprecated #189

Closed
bakerkj opened this issue Feb 5, 2024 · 4 comments

Comments

@bakerkj
Copy link

bakerkj commented Feb 5, 2024

This is the error message:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

actions/cache@v4 has been released for Node 20 please see https://github.com/actions/cache/releases/tag/v4.0.0
along with the specific PR actions/cache#1284.

Thanks!

@asottile
Copy link
Member

asottile commented Feb 5, 2024

fwiw this is just a warning not an error. github will transparently use the new node version without issue

@bakerkj
Copy link
Author

bakerkj commented Feb 6, 2024

@asottile yes thanks.

It does still produce a warning which does cause noise in our builds. It would be nice to fix the dependency either way.

Thanks!

@asottile
Copy link
Member

asottile commented Feb 6, 2024

feel free to send a patch

SukiCZ added a commit to SukiCZ/action that referenced this issue Feb 6, 2024
SukiCZ added a commit to SukiCZ/action that referenced this issue Feb 6, 2024
asottile added a commit that referenced this issue Feb 7, 2024
@khaeru khaeru mentioned this issue Feb 9, 2024
3 tasks
@bakerkj
Copy link
Author

bakerkj commented Feb 9, 2024

Thanks for the fix!

copybara-service bot pushed a commit to GoogleCloudPlatform/gcpdiag that referenced this issue Mar 14, 2024
pre-commit/action#189
https://github.com/pre-commit/action/releases/tag/v3.0.1

Bug: 328630225
Change-Id: Ib51d6249e99deb67e558b833e1b422a99aa2666b
GitOrigin-RevId: 71c7289
Unagi-zoso added a commit to Unagi-zoso/kupica that referenced this issue Apr 25, 2024
현재 버전3 에서 `test
Node.js 16 actions are deprecated` 이라는 경고가 여전히 떠서 최신 버전으로 업 시켰다.

ref)
[참고 자료](pre-commit/action#189)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants