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

.github: upgrade to action versions with node20 #29776

Merged
merged 2 commits into from
May 14, 2024

Conversation

cario-dev
Copy link
Contributor

Node16 is deprecated and Actions using it will stop being used 3rd of June
https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

See example warning in https://github.com/ethereum/go-ethereum/actions/runs/9079334833

Currently checkout@v2 uses node16 since node12 was deprecated last year

@fjl fjl changed the title github: upgrade checkout action to version with node20 .github: upgrade checkout action to version with node20 May 14, 2024
Comment on lines 14 to 16
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The complaint you linked complained about both of them

The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2

So change both checkout and setup?

@fjl fjl changed the title .github: upgrade checkout action to version with node20 .github: upgrade to action versions with node20 May 14, 2024
@holiman holiman merged commit d2f00cb into ethereum:master May 14, 2024
2 of 3 checks passed
@holiman holiman added this to the 1.14.4 milestone May 14, 2024
@cario-dev cario-dev deleted the checkout branch May 14, 2024 13:53
fjl added a commit to fjl/go-ethereum that referenced this pull request May 21, 2024
* github: upgrade checkout action to version with node20

* Update go.yml

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
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.

None yet

3 participants