From aaa41f0384363c9189ea465f3ee2dcb7547af765 Mon Sep 17 00:00:00 2001 From: Felitendo Date: Mon, 24 Aug 2026 10:42:07 +0200 Subject: [PATCH] chore: move the workflows off the deprecated Node 20 actions The runners force actions/checkout@v4 and the artifact actions onto Node 24 already and warn about it on every run. Current majors instead, so the annotation goes away and the pin says what is actually running. --- .github/workflows/check.yml | 2 +- .github/workflows/release.yml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index fd7fb47..74aff10 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -11,7 +11,7 @@ jobs: name: syntax and shellcheck runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 # The Makefile skips whatever is missing rather than failing, so the # tools it looks for have to be here or the check checks less than it diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66f9a17..a4a1c47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: apt-get install -y --no-install-recommends \ ca-certificates git make gettext scdoc dpkg-dev - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Check the tag against the Makefile run: packaging/check-version.sh "${{ github.ref_name }}" @@ -32,7 +32,7 @@ jobs: dpkg-deb --info dist/*.deb dpkg-deb --contents dist/*.deb - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: deb path: dist/*.deb @@ -48,7 +48,7 @@ jobs: dnf install -y --setopt=install_weak_deps=False \ git make gettext scdoc tar rpm-build rpm-sign systemd-rpm-macros - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Check the tag against the Makefile run: packaging/check-version.sh "${{ github.ref_name }}" @@ -75,7 +75,7 @@ jobs: rpm -qip dist/*.rpm rpm -qlp dist/*.rpm - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: rpm path: dist/*.rpm @@ -87,9 +87,9 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: incoming merge-multiple: true @@ -125,7 +125,7 @@ jobs: - name: Check out the published repositories if: steps.key.outputs.present == 'yes' - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: ref: gh-pages path: pages