-
Notifications
You must be signed in to change notification settings - Fork 97
chore(ci): upgrade checkout to v5 #2271
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
base: main
Are you sure you want to change the base?
Conversation
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.
Greptile Overview
Greptile Summary
This PR systematically upgrades the GitHub Actions actions/checkout action from v4 to v5 across all workflow files in the repository. The upgrade affects10 workflow files, updating a total of 23 checkout action references. This is a forward-looking maintenance change designed to prepare the CI/CD pipeline for GitHub's upcoming Node.js 24 runner infrastructure. The checkout v5 action maintains backward compatibility while providing future-proofing against runner environment updates. All workflows retain their existing functionality, parameters, and configuration - only the version number changes from v4 to v5. This comprehensive update ensures consistency across the entire CI system and prevents potential compatibility issues when GitHub updates their runner infrastructure.
Important Files Changed
| Filename | Score | Overview |
|---|---|---|
.github/workflows/reusable-release-cargo.yml |
5/5 | Updates checkout action from v4 to v5 for release workflows |
.github/workflows/reusable-docker-build.yml |
5/5 | Upgrades checkout action in reusable Docker build workflow |
.github/workflows/release.yml |
5/5 | Updates checkout action in three locations within release workflow |
.github/workflows/reusable-build.yml |
5/5 | Upgrades checkout action in reusable build workflow |
.github/workflows/admin.yml |
5/5 | Updates checkout action in admin workflow |
.github/workflows/lint.yml |
5/5 | Upgrades checkout action across five different lint jobs |
.github/workflows/test.yml |
5/5 | Updates checkout action in nine different test workflow steps |
.github/workflows/docker-build.yml |
5/5 | Upgrades checkout action across eight Docker build jobs |
.github/workflows/scheduled.yml |
5/5 | Updates checkout action from v3 to v5 in scheduled workflow |
.github/workflows/reusable-run-checker.yml |
5/5 | Upgrades checkout action in reusable workflow checker |
Confidence score: 5/5
- This PR is safe to merge with minimal risk as it only updates action versions without changing workflow logic or functionality
- Score reflects the straightforward nature of version upgrades, GitHub's backward compatibility guarantees, and the systematic application across all files
- No files require special attention as all changes follow the same simple pattern of version number updates
10 files reviewed, no comments
Summary
bumps checkout to v5 for future-proofing against Node 24 runner updates.
requires runner v2.327.1+. Workflows compile the same.
ref: https://github.com/actions/checkout/releases/tag/v5.0.0
Background
Changes
Testing
Changelogs
Metrics
Breaking Changelist
Related Issues