-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: bump actions/checkout to v4 #1231
base: main
Are you sure you want to change the base?
Conversation
make sense! |
Closes #1260. |
.github/workflows/workflow.yml
Outdated
- name: Setup Node.js 20.x | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses: actions/setup-node@v4 | |
uses: actions/setup-node@v3 |
Somehow actions/setup-node
is also bumped in the last commit dbe5320. But this change didn't belong to the current default branch (in upstream repo), thus I propose to revert it.
cache/.github/workflows/workflow.yml
Lines 24 to 25 in a2ed59d
- name: Setup Node.js 20.x | |
uses: actions/setup-node@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, which resolving the conflict I seem to have accidentally bumped it as the latest Node 20-based version is v4 series (reverted it, but I don't currently see other PRs bumping it). I personally think setting dependabot for updating GitHub actions would work the best for the current usage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why this repo didn't use a dependabot.yml
to keep GitHub Actions up-to-date.
Co-authored-by: Yukai Chou <muzimuzhi@gmail.com>
Description and Context:
Node 16 reaches the end of life soon on 11 Sep 2023. This PR updates the default runtime toI have also bumped thenode20
(Node 20).actions/checkout
version to v4 for the same.Related issue:
actions/runner#2732
Closes #1260
A major version bump might be needed after the PRs merge.