[PATCH] ci: update versions of actions in GHA
David Marchand
david.marchand at redhat.com
Mon May 11 18:11:16 CEST 2026
GitHub started deprecating GHA actions based on Node 20.
For now, only warnings are raised, but we can switch to more recent
versions of the common actions, now:
- cache v5
- checkout v6
- upload-artifact v7
- setup-python v6
Link: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Cc: stable at dpdk.org
Signed-off-by: David Marchand <david.marchand at redhat.com>
---
.github/workflows/build.yml | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b3e2957411..f0ef39d34f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout sources
- uses: actions/checkout at v4
+ uses: actions/checkout at v6
with:
fetch-depth: 0
- name: Check patches
@@ -121,7 +121,7 @@ jobs:
steps:
- name: Checkout sources
- uses: actions/checkout at v4
+ uses: actions/checkout at v6
- name: Generate cache keys
id: get_ref_keys
run: |
@@ -129,7 +129,7 @@ jobs:
echo 'libabigail=libabigail-${{ env.LIBABIGAIL_VERSION }}-${{ matrix.config.os }}' >> $GITHUB_OUTPUT
echo 'abi=abi-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-${{ env.REF_GIT_TAG }}' >> $GITHUB_OUTPUT
- name: Retrieve ccache cache
- uses: actions/cache at v4
+ uses: actions/cache at v5
with:
path: ~/.ccache
key: ${{ steps.get_ref_keys.outputs.ccache }}-${{ github.ref }}
@@ -137,13 +137,13 @@ jobs:
${{ steps.get_ref_keys.outputs.ccache }}-refs/heads/main
- name: Retrieve libabigail cache
id: libabigail-cache
- uses: actions/cache at v4
+ uses: actions/cache at v5
if: env.ABI_CHECKS == 'true'
with:
path: libabigail
key: ${{ steps.get_ref_keys.outputs.libabigail }}
- name: Retrieve ABI reference cache
- uses: actions/cache at v4
+ uses: actions/cache at v5
if: env.ABI_CHECKS == 'true'
with:
path: reference
@@ -195,7 +195,7 @@ jobs:
key: ${{ steps.get_ref_keys.outputs.ccache }}-${{ github.ref }}
- name: Upload logs on failure
if: failure()
- uses: actions/upload-artifact at v4
+ uses: actions/upload-artifact at v7
with:
name: meson-logs-${{ join(matrix.config.*, '-') }}
path: |
@@ -216,9 +216,9 @@ jobs:
steps:
- name: Checkout sources
- uses: actions/checkout at v4
+ uses: actions/checkout at v6
- name: Set up Python
- uses: actions/setup-python at v5
+ uses: actions/setup-python at v6
with:
python-version: '3.x'
- name: Install dependencies
@@ -235,7 +235,7 @@ jobs:
meson compile -C build
- name: Upload logs on failure
if: failure()
- uses: actions/upload-artifact at v4
+ uses: actions/upload-artifact at v7
with:
name: meson-logs-${{ join(matrix.config.*, '-') }}
path: |
@@ -287,7 +287,7 @@ jobs:
echo 'image=image-${{ matrix.config.image }}-'$(date -u +%Y-%m-%d) >> $GITHUB_OUTPUT
- name: Retrieve image cache
id: image_cache
- uses: actions/cache at v4
+ uses: actions/cache at v5
with:
path: ~/.image
key: ${{ steps.get_keys.outputs.image }}
@@ -331,7 +331,7 @@ jobs:
steps:
- name: Checkout sources
- uses: actions/checkout at v4
+ uses: actions/checkout at v6
- name: Generate various keys
id: get_keys
run: |
@@ -339,7 +339,7 @@ jobs:
echo 'logs=meson-logs-${{ join(matrix.config.*, '-') }}' | tr -d ':' >> $GITHUB_OUTPUT
- name: Retrieve image cache
id: image_cache
- uses: actions/cache at v4
+ uses: actions/cache at v5
with:
path: ~/.image
key: ${{ needs.prepare-container-images.outputs.image }}
@@ -349,7 +349,7 @@ jobs:
echo 'Image ${{ matrix.config.image }} is not cached.'
false
- name: Retrieve ccache cache
- uses: actions/cache at v4
+ uses: actions/cache at v5
with:
path: ~/.ccache
key: ${{ steps.get_keys.outputs.ccache }}-${{ github.ref }}
@@ -388,7 +388,7 @@ jobs:
run: docker kill dpdk
- name: Upload logs on failure
if: failure()
- uses: actions/upload-artifact at v4
+ uses: actions/upload-artifact at v7
with:
name: ${{ steps.get_keys.outputs.logs }}
path: |
--
2.53.0
More information about the stable
mailing list