ci: upgrade GitHub Actions to Node 24 runtimes (closes #231)
GitHub is removing Node.js 20 from Actions runners on Sep 16, 2026 and forcing Node 24 as default from Jun 2, 2026. Upgrade all first-party actions to latest major versions that ship with node24: actions/checkout@v4 → v6 actions/upload-artifact@v4 → v7 actions/download-artifact@v4 → v8 Note: setup-python@v5 warning is inside cloudsmith-io/action@master and is not directly addressable here. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f18003651f
commit
89acaf4145
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
name: Lint
|
name: Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install lint tools
|
- name: Install lint tools
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
name: Validate Patches
|
name: Validate Patches
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: "Dry-run patch: ZFSPlugin (PVE 8)"
|
- name: "Dry-run patch: ZFSPlugin (PVE 8)"
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -90,7 +90,7 @@ jobs:
|
||||||
is_release: ${{ steps.vars.outputs.is_release }}
|
is_release: ${{ steps.vars.outputs.is_release }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
# Fetch full history so tag-based versioning works
|
# Fetch full history so tag-based versioning works
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
@ -224,7 +224,7 @@ jobs:
|
||||||
dpkg-deb --contents "${{ steps.vars.outputs.deb_file }}"
|
dpkg-deb --contents "${{ steps.vars.outputs.deb_file }}"
|
||||||
|
|
||||||
- name: Upload package artifact
|
- name: Upload package artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.vars.outputs.deb_file }}
|
name: ${{ steps.vars.outputs.deb_file }}
|
||||||
path: ${{ steps.vars.outputs.deb_file }}
|
path: ${{ steps.vars.outputs.deb_file }}
|
||||||
|
|
@ -237,7 +237,7 @@ jobs:
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
# Scan the repository for secrets and known vulnerabilities
|
# Scan the repository for secrets and known vulnerabilities
|
||||||
- name: Run Trivy (repo scan — secrets + misconfig)
|
- name: Run Trivy (repo scan — secrets + misconfig)
|
||||||
|
|
@ -252,7 +252,7 @@ jobs:
|
||||||
|
|
||||||
# Download and scan the built .deb
|
# Download and scan the built .deb
|
||||||
- name: Download built package
|
- name: Download built package
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: ${{ needs.build.outputs.deb_file }}
|
name: ${{ needs.build.outputs.deb_file }}
|
||||||
|
|
||||||
|
|
@ -280,10 +280,10 @@ jobs:
|
||||||
if: github.event_name == 'push' && needs.build.outputs.channel != 'none'
|
if: github.event_name == 'push' && needs.build.outputs.channel != 'none'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Download built package
|
- name: Download built package
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: ${{ needs.build.outputs.deb_file }}
|
name: ${{ needs.build.outputs.deb_file }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue