Skip to content

Commit c372bc2

Browse files
committed
ci: update GitHub Actions to Node.js 24 compatible 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.
1 parent ac56d39 commit c372bc2

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/alpinelinux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020

2121
- name: Install build dependencies
2222
run: |

.github/workflows/docker.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ jobs:
1616
runs-on: ubuntu-24.04
1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020
with:
2121
sparse-checkout: |
2222
docker/dev/Dockerfile
2323
install-dependencies.sh
2424
2525
- name: Set up Docker Buildx
26-
uses: docker/setup-buildx-action@v3
26+
uses: docker/setup-buildx-action@v4
2727

2828
- name: Build Docker image
29-
uses: docker/build-push-action@v6
29+
uses: docker/build-push-action@v7
3030
with:
3131
context: .
3232
file: docker/dev/Dockerfile

.github/workflows/pre-commit.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ jobs:
66
pre-commit:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
10-
- uses: actions/setup-python@v5
9+
- uses: actions/checkout@v6
10+
- uses: actions/setup-python@v6
1111
with:
1212
python-version: '3.x'
1313
- uses: pre-commit/action@v3.0.1

.github/workflows/python-lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
name: Enforce python format
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v4
11-
- uses: psf/black@24.8.0
10+
- uses: actions/checkout@v6
11+
- uses: psf/black@26.3.1
1212
with:
13-
version: "24.8.0"
13+
version: "26.3.1"
1414
src: ./scripts
1515
# override options so that we can specify only specific files for now
1616
options: "--check --diff --include=.*addr2line.*"

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
timeout-minutes: 60
4545
runs-on: ubuntu-24.04
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v6
4848
with:
4949
submodules: "${{ contains(inputs.enables, 'dpdk') }}"
5050

@@ -77,7 +77,7 @@ jobs:
7777
7878
- name: Setup ccache
7979
if: ${{ inputs.enable-ccache }}
80-
uses: hendrikmuhs/ccache-action@v1
80+
uses: hendrikmuhs/ccache-action@v1.2
8181
with:
8282
key: ${{ inputs.compiler }}-${{ inputs.standard }}-${{ inputs.mode }}-${{ inputs.enables }}
8383

0 commit comments

Comments
 (0)