* [PATCH] ci: update versions of actions in GHA
@ 2026-05-11 16:11 David Marchand
0 siblings, 0 replies; only message in thread
From: David Marchand @ 2026-05-11 16:11 UTC (permalink / raw)
To: dev; +Cc: stable, Aaron Conole
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@dpdk.org
Signed-off-by: David Marchand <david.marchand@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@v4
+ uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Check patches
@@ -121,7 +121,7 @@ jobs:
steps:
- name: Checkout sources
- uses: actions/checkout@v4
+ uses: actions/checkout@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@v4
+ uses: actions/cache@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@v4
+ uses: actions/cache@v5
if: env.ABI_CHECKS == 'true'
with:
path: libabigail
key: ${{ steps.get_ref_keys.outputs.libabigail }}
- name: Retrieve ABI reference cache
- uses: actions/cache@v4
+ uses: actions/cache@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@v4
+ uses: actions/upload-artifact@v7
with:
name: meson-logs-${{ join(matrix.config.*, '-') }}
path: |
@@ -216,9 +216,9 @@ jobs:
steps:
- name: Checkout sources
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Set up Python
- uses: actions/setup-python@v5
+ uses: actions/setup-python@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@v4
+ uses: actions/upload-artifact@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@v4
+ uses: actions/cache@v5
with:
path: ~/.image
key: ${{ steps.get_keys.outputs.image }}
@@ -331,7 +331,7 @@ jobs:
steps:
- name: Checkout sources
- uses: actions/checkout@v4
+ uses: actions/checkout@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@v4
+ uses: actions/cache@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@v4
+ uses: actions/cache@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@v4
+ uses: actions/upload-artifact@v7
with:
name: ${{ steps.get_keys.outputs.logs }}
path: |
--
2.53.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-11 16:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 16:11 [PATCH] ci: update versions of actions in GHA David Marchand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox