[ci] Update GitHub Actions to latest major release

Fix deprecation warning that Node20.js will stop working
in June.
This commit is contained in:
Christoph Grüninger
2026-04-26 10:47:32 +02:00
parent 47c1b320a0
commit 42250501e4
3 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -135,7 +135,7 @@ jobs:
find $DIR ! -executable -o -type d ! -path $DIR | xargs rm -rf
- name: Upload Binaries
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: binaries
path: target/debug
@@ -179,7 +179,7 @@ jobs:
# Download
- name: Download target dir
uses: actions/download-artifact@v6
uses: actions/download-artifact@v8
with:
name: binaries
path: target/debug
+9 -9
View File
@@ -44,7 +44,7 @@ jobs:
- name: Cache lintcheck bin
id: cache-lintcheck-bin
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: target/debug/lintcheck
key: lintcheck-bin-${{ hashfiles('lintcheck/**') }}
@@ -59,7 +59,7 @@ jobs:
- name: Cache results JSON
id: cache-json
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: lintcheck-logs/ci_crates_logs.json
key: ${{ steps.key.outputs.key }}
@@ -69,7 +69,7 @@ jobs:
run: env CLIPPY_CONF_DIR="$PWD/lintcheck/ci-config" ./target/debug/lintcheck --format json --all-lints --crates-toml ./lintcheck/ci_crates.toml
- name: Upload base JSON
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: base
path: lintcheck-logs/ci_crates_logs.json
@@ -87,7 +87,7 @@ jobs:
- name: Cache lintcheck bin
id: cache-lintcheck-bin
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: target/debug/lintcheck
key: lintcheck-bin-${{ hashfiles('lintcheck/**') }}
@@ -100,7 +100,7 @@ jobs:
run: env CLIPPY_CONF_DIR="$PWD/lintcheck/ci-config" ./target/debug/lintcheck --format json --all-lints --crates-toml ./lintcheck/ci_crates.toml
- name: Upload head JSON
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: head
path: lintcheck-logs/ci_crates_logs.json
@@ -119,14 +119,14 @@ jobs:
persist-credentials: false
- name: Restore lintcheck bin
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: target/debug/lintcheck
key: lintcheck-bin-${{ hashfiles('lintcheck/**') }}
fail-on-cache-miss: true
- name: Download JSON
uses: actions/download-artifact@v5
uses: actions/download-artifact@v8
- name: Store PR number
run: echo ${{ github.event.pull_request.number }} > pr.txt
@@ -140,13 +140,13 @@ jobs:
./target/debug/lintcheck diff {base,head}/ci_crates_logs.json --write-summary summary.json > full_diff.md
- name: Upload full diff
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: full_diff
path: full_diff.md
- name: Upload summary
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: summary
path: |
+2 -2
View File
@@ -27,7 +27,7 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Download artifact
uses: actions/download-artifact@v5
uses: actions/download-artifact@v8
with:
name: summary
path: untrusted
@@ -35,7 +35,7 @@ jobs:
github-token: ${{ github.token }}
- name: Format comment
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
const fs = require("fs");