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.
This commit is contained in:
1 parent
a053b4e555
commit
aaa41f0384
2 files changed
+8
-8
No files matched your search
@@ -11,7 +11,7 @@ jobs:
|
|||||||
name: syntax and shellcheck
|
name: syntax and shellcheck
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
# The Makefile skips whatever is missing rather than failing, so the
|
# 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
|
# tools it looks for have to be here or the check checks less than it
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
ca-certificates git make gettext scdoc dpkg-dev
|
ca-certificates git make gettext scdoc dpkg-dev
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Check the tag against the Makefile
|
- name: Check the tag against the Makefile
|
||||||
run: packaging/check-version.sh "${{ github.ref_name }}"
|
run: packaging/check-version.sh "${{ github.ref_name }}"
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
dpkg-deb --info dist/*.deb
|
dpkg-deb --info dist/*.deb
|
||||||
dpkg-deb --contents dist/*.deb
|
dpkg-deb --contents dist/*.deb
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: deb
|
name: deb
|
||||||
path: dist/*.deb
|
path: dist/*.deb
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
dnf install -y --setopt=install_weak_deps=False \
|
dnf install -y --setopt=install_weak_deps=False \
|
||||||
git make gettext scdoc tar rpm-build rpm-sign systemd-rpm-macros
|
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
|
- name: Check the tag against the Makefile
|
||||||
run: packaging/check-version.sh "${{ github.ref_name }}"
|
run: packaging/check-version.sh "${{ github.ref_name }}"
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
rpm -qip dist/*.rpm
|
rpm -qip dist/*.rpm
|
||||||
rpm -qlp dist/*.rpm
|
rpm -qlp dist/*.rpm
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: rpm
|
name: rpm
|
||||||
path: dist/*.rpm
|
path: dist/*.rpm
|
||||||
@@ -87,9 +87,9 @@ jobs:
|
|||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
path: incoming
|
path: incoming
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
@@ -125,7 +125,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out the published repositories
|
- name: Check out the published repositories
|
||||||
if: steps.key.outputs.present == 'yes'
|
if: steps.key.outputs.present == 'yes'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
ref: gh-pages
|
ref: gh-pages
|
||||||
path: pages
|
path: pages
|
||||||
|
|||||||
Reference in new issue
Block a user