ci: update GitHub Actions to Node.js 24 compatible versions#3357
Open
avikivity wants to merge 1 commit into
Open
ci: update GitHub Actions to Node.js 24 compatible versions#3357avikivity wants to merge 1 commit into
avikivity wants to merge 1 commit into
Conversation
Contributor
|
@avikivity - please see scylladb/scylladb#29421 - which is similar, but moving to hashes, instead of versions. |
Node.js 20 actions are deprecated and will be forced to Node.js 24 starting June 2nd, 2026, with Node.js 20 removed from runners on September 16th, 2026. Update all actions to their latest major versions that support Node.js 24. Actions updated across all workflow files: - actions/checkout: v4 -> v6 - actions/setup-python: v5 -> v6 - hendrikmuhs/ccache-action: v1 -> v1.2 - docker/setup-buildx-action: v3 -> v4 - docker/build-push-action: v6 -> v7 - psf/black: 24.8.0 -> 26.3.1 Note: pre-commit/action@v3.0.1 internally uses actions/cache@v4 which still runs on Node.js 20. This is an upstream issue -- v3.0.1 is the latest release of pre-commit/action.
5f96242 to
c372bc2
Compare
Member
Author
|
v2: rebased |
There was a problem hiding this comment.
Pull request overview
Updates GitHub Actions workflow dependencies to action versions expected to be compatible with the upcoming runner Node.js 24 migration, keeping CI functional past the Node.js 20 deprecation timeline.
Changes:
- Bump
actions/checkoutacross workflows. - Update Python-related actions (setup-python, black) to newer majors/versions.
- Update Docker Buildx and build/push actions, plus ccache action.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/test.yaml | Updates checkout action and ccache action versions used in the reusable CI test job. |
| .github/workflows/python-lint.yaml | Updates checkout and black action versions used for Python formatting checks. |
| .github/workflows/pre-commit.yaml | Updates checkout and setup-python action versions used for pre-commit checks. |
| .github/workflows/docker.yaml | Updates checkout, buildx setup, and build-push action versions for Docker build verification. |
| .github/workflows/alpinelinux.yaml | Updates checkout action version for Alpine container CI job. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+13
to
16
| version: "26.3.1" | ||
| src: ./scripts | ||
| # override options so that we can specify only specific files for now | ||
| options: "--check --diff --include=.*addr2line.*" |
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.
Node.js 20 actions are deprecated and will be forced to Node.js 24 starting June 2nd, 2026, with Node.js 20 removed from runners on September 16th, 2026. Update all actions to their latest major versions that support Node.js 24.
Actions updated across all workflow files:
Note: pre-commit/action@v3.0.1 internally uses actions/cache@v4 which still runs on Node.js 20. This is an upstream issue -- v3.0.1 is the latest release of pre-commit/action.