27
27
28
28
steps :
29
29
- name : " Checkout"
30
- uses : actions/checkout@v4
30
+ uses : actions/checkout@v5
31
31
with :
32
32
fetch-depth : 0
33
33
@@ -156,16 +156,16 @@ jobs:
156
156
if : github.event_name == 'pull_request' && needs.compiler-tests.outputs.compiler_changed == 'true'
157
157
runs-on : " ubuntu-latest"
158
158
steps :
159
- - uses : actions/checkout@v4
159
+ - uses : actions/checkout@v5
160
160
161
161
- name : Get base commit SHA
162
162
id : base
163
163
run : echo "base_sha=${{ github.event.pull_request.base.sha }}" >> "$GITHUB_OUTPUT"
164
164
165
165
- name : Set up Node.js
166
- uses : actions/setup-node@v4
166
+ uses : actions/setup-node@v5
167
167
with :
168
- node-version : 20
168
+ node-version : 22
169
169
170
170
- name : Install dependencies
171
171
working-directory : .github/scripts
@@ -177,7 +177,7 @@ jobs:
177
177
178
178
- name : Find phar-file-checksum from base commit
179
179
id : find-artifact
180
- uses : actions/github-script@v7
180
+ uses : actions/github-script@v8
181
181
env :
182
182
BASE_SHA : ${{ steps.base.outputs.base_sha }}
183
183
ARTIFACT_NAME : phar-file-checksum
@@ -189,7 +189,7 @@ jobs:
189
189
190
190
# saved to phar-file-checksum/phpstan.phar
191
191
- name : Download old artifact by ID
192
- uses : actions/download-artifact@v4
192
+ uses : actions/download-artifact@v5
193
193
with :
194
194
artifact-ids : ${{ steps.find-artifact.outputs.artifact_id }}
195
195
run-id : ${{ steps.find-artifact.outputs.run_id }}
@@ -210,7 +210,7 @@ jobs:
210
210
steps :
211
211
# saved to phpstan.phar
212
212
- name : " Download base phpstan.phar"
213
- uses : actions/download-artifact@v4
213
+ uses : actions/download-artifact@v5
214
214
with :
215
215
name : phar-file-checksum-base
216
216
@@ -229,18 +229,18 @@ jobs:
229
229
needs : download-base-sha-phar
230
230
runs-on : " ubuntu-latest"
231
231
steps :
232
- - uses : actions/checkout@v4
232
+ - uses : actions/checkout@v5
233
233
234
234
# saved to phar-file-checksum/phpstan.phar
235
235
- name : " Download phpstan.phar"
236
- uses : actions/download-artifact@v4
236
+ uses : actions/download-artifact@v5
237
237
with :
238
238
name : phar-file-checksum
239
239
path : phar-file-checksum
240
240
241
241
# saved to phar-file-checksum-base/phpstan.phar
242
242
- name : " Download base phpstan.phar"
243
- uses : actions/download-artifact@v4
243
+ uses : actions/download-artifact@v5
244
244
with :
245
245
name : phar-file-checksum-base
246
246
path : phar-file-checksum-base
@@ -295,7 +295,7 @@ jobs:
295
295
git_commit_gpgsign : true
296
296
297
297
- name : " Checkout phpstan-dist"
298
- uses : actions/checkout@v4
298
+ uses : actions/checkout@v5
299
299
with :
300
300
repository : phpstan/phpstan
301
301
path : phpstan-dist
@@ -308,7 +308,7 @@ jobs:
308
308
run : echo "sha=$(sed -n '2p' .phar-checksum)" >> $GITHUB_OUTPUT
309
309
310
310
- name : " Checkout phpstan-src"
311
- uses : actions/checkout@v4
311
+ uses : actions/checkout@v5
312
312
with :
313
313
fetch-depth : 0
314
314
path : phpstan-src
@@ -338,7 +338,7 @@ jobs:
338
338
fi
339
339
340
340
- name : " Download phpstan.phar"
341
- uses : actions/download-artifact@v4
341
+ uses : actions/download-artifact@v5
342
342
with :
343
343
name : phar-file
344
344
@@ -384,7 +384,7 @@ jobs:
384
384
385
385
- name : " Commit PHAR - tag"
386
386
if : " startsWith(github.ref, 'refs/tags/')"
387
- uses : stefanzweifel/git-auto-commit-action@v5
387
+ uses : stefanzweifel/git-auto-commit-action@v6
388
388
with :
389
389
commit_user_name : " phpstan-bot"
390
390
commit_user_email :
" [email protected] "
0 commit comments