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

Bump actions/checkout to version 3.x so we use NodeJs 16.x #17161

Merged
merged 2 commits into from Oct 20, 2022

Conversation

gwillcox-r7
Copy link
Contributor

@gwillcox-r7 gwillcox-r7 commented Oct 19, 2022

Bump the NodeJS version used for Verify.yml to fix the following issue:

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/checkout, actions/checkout

Issue was first encountered on @h00die's PR at https://github.com/h00die/metasploit-framework/actions/runs/3267771315

@gwillcox-r7 gwillcox-r7 changed the title Bind verify.yml to NodeJs 16.x to comply with NodeJS 12 deprecation Bump actions/checkout in verify.yml to version 3.x so we use NodeJs 16.x Oct 19, 2022
@@ -33,7 +33,7 @@ jobs:
name: Docker Build
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
Copy link
Contributor

Choose a reason for hiding this comment

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

v2 is also present in other Github action files within this repo, which I imagine we'll want to update too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep let me take a look for those and update them as well.

@adfoster-r7
Copy link
Contributor

cross-referencing the Github actions PR which bumped the node dependency requirements here - actions/checkout#689

There doesn't seem to be much of a changelog on why this is a major bump:
https://github.com/actions/checkout/releases/tag/v3.0.0

Looks like it's a safe bump and just churn for users? Not sure yet.
actions/checkout#708 (comment)

@gwillcox-r7 gwillcox-r7 changed the title Bump actions/checkout in verify.yml to version 3.x so we use NodeJs 16.x Bump actions/checkout to version 3.x so we use NodeJs 16.x Oct 19, 2022
@adfoster-r7
Copy link
Contributor

I'm not sure why this is a major bump to 3, but going through the change log and the links I commented above - nothing stands out to me as being a blocker 👍

@adfoster-r7 adfoster-r7 merged commit ee800db into rapid7:master Oct 20, 2022
@adfoster-r7 adfoster-r7 added the rn-no-release-notes no release notes label Oct 20, 2022
@gwillcox-r7 gwillcox-r7 deleted the bump-nodejs-github-actions branch October 20, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn-no-release-notes no release notes
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants