Skip to content

Commit da29c3e

Browse files
authored
[ci] Update GitHub Actions to latest major release (#16915)
Fix deprecation warning that Node20.js will stop working in June. changelog: none
2 parents 57fdfaa + 4225050 commit da29c3e

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/clippy_mq.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
find $DIR ! -executable -o -type d ! -path $DIR | xargs rm -rf
136136
137137
- name: Upload Binaries
138-
uses: actions/upload-artifact@v4
138+
uses: actions/upload-artifact@v7
139139
with:
140140
name: binaries
141141
path: target/debug
@@ -179,7 +179,7 @@ jobs:
179179
180180
# Download
181181
- name: Download target dir
182-
uses: actions/download-artifact@v6
182+
uses: actions/download-artifact@v8
183183
with:
184184
name: binaries
185185
path: target/debug

.github/workflows/lintcheck.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
4545
- name: Cache lintcheck bin
4646
id: cache-lintcheck-bin
47-
uses: actions/cache@v4
47+
uses: actions/cache@v5
4848
with:
4949
path: target/debug/lintcheck
5050
key: lintcheck-bin-${{ hashfiles('lintcheck/**') }}
@@ -59,7 +59,7 @@ jobs:
5959

6060
- name: Cache results JSON
6161
id: cache-json
62-
uses: actions/cache@v4
62+
uses: actions/cache@v5
6363
with:
6464
path: lintcheck-logs/ci_crates_logs.json
6565
key: ${{ steps.key.outputs.key }}
@@ -69,7 +69,7 @@ jobs:
6969
run: env CLIPPY_CONF_DIR="$PWD/lintcheck/ci-config" ./target/debug/lintcheck --format json --all-lints --crates-toml ./lintcheck/ci_crates.toml
7070

7171
- name: Upload base JSON
72-
uses: actions/upload-artifact@v4
72+
uses: actions/upload-artifact@v7
7373
with:
7474
name: base
7575
path: lintcheck-logs/ci_crates_logs.json
@@ -87,7 +87,7 @@ jobs:
8787

8888
- name: Cache lintcheck bin
8989
id: cache-lintcheck-bin
90-
uses: actions/cache@v4
90+
uses: actions/cache@v5
9191
with:
9292
path: target/debug/lintcheck
9393
key: lintcheck-bin-${{ hashfiles('lintcheck/**') }}
@@ -100,7 +100,7 @@ jobs:
100100
run: env CLIPPY_CONF_DIR="$PWD/lintcheck/ci-config" ./target/debug/lintcheck --format json --all-lints --crates-toml ./lintcheck/ci_crates.toml
101101

102102
- name: Upload head JSON
103-
uses: actions/upload-artifact@v4
103+
uses: actions/upload-artifact@v7
104104
with:
105105
name: head
106106
path: lintcheck-logs/ci_crates_logs.json
@@ -119,14 +119,14 @@ jobs:
119119
persist-credentials: false
120120

121121
- name: Restore lintcheck bin
122-
uses: actions/cache/restore@v4
122+
uses: actions/cache/restore@v5
123123
with:
124124
path: target/debug/lintcheck
125125
key: lintcheck-bin-${{ hashfiles('lintcheck/**') }}
126126
fail-on-cache-miss: true
127127

128128
- name: Download JSON
129-
uses: actions/download-artifact@v5
129+
uses: actions/download-artifact@v8
130130

131131
- name: Store PR number
132132
run: echo ${{ github.event.pull_request.number }} > pr.txt
@@ -140,13 +140,13 @@ jobs:
140140
./target/debug/lintcheck diff {base,head}/ci_crates_logs.json --write-summary summary.json > full_diff.md
141141
142142
- name: Upload full diff
143-
uses: actions/upload-artifact@v4
143+
uses: actions/upload-artifact@v7
144144
with:
145145
name: full_diff
146146
path: full_diff.md
147147

148148
- name: Upload summary
149-
uses: actions/upload-artifact@v4
149+
uses: actions/upload-artifact@v7
150150
with:
151151
name: summary
152152
path: |

.github/workflows/lintcheck_summary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ jobs:
2727
if: ${{ github.event.workflow_run.conclusion == 'success' }}
2828
steps:
2929
- name: Download artifact
30-
uses: actions/download-artifact@v5
30+
uses: actions/download-artifact@v8
3131
with:
3232
name: summary
3333
path: untrusted
3434
run-id: ${{ github.event.workflow_run.id }}
3535
github-token: ${{ github.token }}
3636

3737
- name: Format comment
38-
uses: actions/github-script@v8
38+
uses: actions/github-script@v9
3939
with:
4040
script: |
4141
const fs = require("fs");

0 commit comments

Comments
 (0)