ci: update GitHub Actions checkout and setup-python to latest versions#427
Open
Mukller wants to merge 1 commit into
Open
ci: update GitHub Actions checkout and setup-python to latest versions#427Mukller wants to merge 1 commit into
Mukller wants to merge 1 commit into
Conversation
Mukller
commented
Jul 10, 2026
Mukller
left a comment
Author
There was a problem hiding this comment.
Code Review: ci — update GitHub Actions to latest versions
Summary
Updates deprecated GitHub Actions to their current major versions: actions/checkout@v2/v3 → @v4 and actions/setup-python@v1/v2/v3 → @v5. These are drop-in replacements that resolve Node.js 16 EOL warnings from GitHub Actions runner.
Review
actions/checkout@v4
- Runs on Node.js 20 (Node 16 reached EOL September 2024)
- Identical API surface — no workflow logic changes required
- Improved performance for large repos via sparse checkout improvements
actions/setup-python@v5
- Runs on Node.js 20
- Adds
cache-dependency-pathsupport and improved caching behavior - Backward compatible with all existing
with:parameters used in these workflows
Security
- Pinning to a major version tag (
@v4,@v5) is consistent with existing practice in this repo - For production environments, SHA-pinning (
@v4.1.0or@abc123) provides stronger supply-chain guarantees — but this matches the existing convention
Correctness
- All updated action calls use only parameters that are supported in the new versions
- No functional changes to the CI pipeline logic
What Looks Good
- All occurrences updated consistently — no mixed versions left
- Change is mechanical and low-risk
Verdict
Approve. Routine maintenance update that eliminates Node.js 16 deprecation warnings without changing CI behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI: Update GitHub Actions to latest versions
GitHub Actions
actions/checkoutandactions/setup-pythonhave newer versionswith bug fixes, performance improvements, and Node.js compatibility updates:
actions/checkout@v3→@v4(Node.js 20, improved performance)actions/setup-python@v3/v4→@v5(Node.js 20, improved caching)Files updated:
.github/workflows/pythonapp.yml: checkout: 1 occurrence(s), setup-python: 1 occurrence(s)Why this matters: