-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ci: upgrade github actions to latest versions #3515
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
Conversation
7abb609 to
e7f1f0a
Compare
Updated deprecated GitHub actions to latest major versions. This fixes Node.js 12/16 deprecation warnings and ensures compatibility with the current runners. Signed-off-by: RinZ27 <[email protected]>
e7f1f0a to
ea9e9d9
Compare
|
thx, will merge next week |
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.
Pull request overview
This PR upgrades GitHub Actions to their latest major versions to address Node.js 12/16 deprecation warnings and ensure compatibility with current GitHub Actions runners.
Changes:
- Upgraded
actions/checkoutfrom v3 to v4 across all workflows - Upgraded
actions/setup-gofrom v3/v4 to v5 across Go-based workflows - Upgraded
actions/cachefrom v3 to v4 across all workflows - Upgraded
actions/setup-nodefrom v3 to v4 in commit-lint workflow - Upgraded
softprops/action-gh-releasefrom v1 to v2 in release workflows
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/unit-test.yml | Updated setup-go to v5, checkout to v4, and cache to v4 |
| .github/workflows/release.yml | Updated setup-go to v5, checkout to v4, cache to v4, and action-gh-release to v2 |
| .github/workflows/pre-release.yml | Updated setup-go to v5, checkout to v4, cache to v4, and action-gh-release to v2 |
| .github/workflows/nancy.yml | Updated setup-go from v4 to v5 |
| .github/workflows/lint.yml | Updated setup-go to v5, checkout to v4, and cache to v4 |
| .github/workflows/integration-test.yml | Updated checkout to v4 |
| .github/workflows/evm-tests.yml | Updated setup-go to v5, checkout to v4, and cache to v4 |
| .github/workflows/commit-lint.yml | Updated checkout to v4, setup-node to v4, and cache to v4 |
| .github/workflows/build-test.yml | Updated setup-go to v5, checkout to v4, and cache to v4 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@buddh0 Glad I could help with the security improvements. Thanks for the review! |
Updated deprecated actions (checkout, setup-go, cache, setup-node, action-gh-release) to their latest major versions.
This fixes warnings about Node.js 12/16 deprecation and ensures future compatibility with the runners. Verified that v4/v5 versions are compatible with the existing workflow configuration.