4646 echo "skip_concurrent=$skip_concurrent" >>$GITHUB_OUTPUT
4747 - name : skip if the commit or tree was already tested
4848 id : skip-if-redundant
49- uses : actions/github-script@v6
49+ uses : actions/github-script@v7
5050 if : steps.check-ref.outputs.enabled == 'yes'
5151 with :
5252 github-token : ${{secrets.GITHUB_TOKEN}}
9595 group : windows-build-${{ github.ref }}
9696 cancel-in-progress : ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
9797 steps :
98- - uses : actions/checkout@v3
98+ - uses : actions/checkout@v4
9999 - uses : git-for-windows/setup-git-for-windows-sdk@v1
100100 - name : build
101101 shell : bash
@@ -106,7 +106,7 @@ jobs:
106106 - name : zip up tracked files
107107 run : git archive -o artifacts/tracked.tar.gz HEAD
108108 - name : upload tracked files and build artifacts
109- uses : actions/upload-artifact@v3
109+ uses : actions/upload-artifact@v4
110110 with :
111111 name : windows-artifacts
112112 path : artifacts
@@ -123,7 +123,7 @@ jobs:
123123 cancel-in-progress : ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
124124 steps :
125125 - name : download tracked files and build artifacts
126- uses : actions/download-artifact@v3
126+ uses : actions/download-artifact@v4
127127 with :
128128 name : windows-artifacts
129129 path : ${{github.workspace}}
@@ -140,7 +140,7 @@ jobs:
140140 run : ci/print-test-failures.sh
141141 - name : Upload failed tests' directories
142142 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
143- uses : actions/upload-artifact@v3
143+ uses : actions/upload-artifact@v4
144144 with :
145145 name : failed-tests-windows
146146 path : ${{env.FAILED_TEST_ARTIFACTS}}
@@ -156,10 +156,10 @@ jobs:
156156 group : vs-build-${{ github.ref }}
157157 cancel-in-progress : ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
158158 steps :
159- - uses : actions/checkout@v3
159+ - uses : actions/checkout@v4
160160 - uses : git-for-windows/setup-git-for-windows-sdk@v1
161161 - name : initialize vcpkg
162- uses : actions/checkout@v3
162+ uses : actions/checkout@v4
163163 with :
164164 repository : ' microsoft/vcpkg'
165165 path : ' compat/vcbuild/vcpkg'
@@ -195,7 +195,7 @@ jobs:
195195 - name : zip up tracked files
196196 run : git archive -o artifacts/tracked.tar.gz HEAD
197197 - name : upload tracked files and build artifacts
198- uses : actions/upload-artifact@v3
198+ uses : actions/upload-artifact@v4
199199 with :
200200 name : vs-artifacts
201201 path : artifacts
@@ -213,7 +213,7 @@ jobs:
213213 steps :
214214 - uses : git-for-windows/setup-git-for-windows-sdk@v1
215215 - name : download tracked files and build artifacts
216- uses : actions/download-artifact@v3
216+ uses : actions/download-artifact@v4
217217 with :
218218 name : vs-artifacts
219219 path : ${{github.workspace}}
@@ -231,7 +231,7 @@ jobs:
231231 run : ci/print-test-failures.sh
232232 - name : Upload failed tests' directories
233233 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
234- uses : actions/upload-artifact@v3
234+ uses : actions/upload-artifact@v4
235235 with :
236236 name : failed-tests-windows
237237 path : ${{env.FAILED_TEST_ARTIFACTS}}
@@ -262,11 +262,11 @@ jobs:
262262 pool : ubuntu-20.04
263263 - jobname : osx-clang
264264 cc : clang
265- pool : macos-12
265+ pool : macos-13
266266 - jobname : osx-gcc
267267 cc : gcc
268- cc_package : gcc-9
269- pool : macos-12
268+ cc_package : gcc-13
269+ pool : macos-13
270270 - jobname : linux-gcc-default
271271 cc : gcc
272272 pool : ubuntu-latest
@@ -286,15 +286,15 @@ jobs:
286286 runs_on_pool : ${{matrix.vector.pool}}
287287 runs-on : ${{matrix.vector.pool}}
288288 steps :
289- - uses : actions/checkout@v3
289+ - uses : actions/checkout@v4
290290 - run : ci/install-dependencies.sh
291291 - run : ci/run-build-and-tests.sh
292292 - name : print test failures
293293 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
294294 run : ci/print-test-failures.sh
295295 - name : Upload failed tests' directories
296296 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
297- uses : actions/upload-artifact@v3
297+ uses : actions/upload-artifact@v4
298298 with :
299299 name : failed-tests-${{matrix.vector.jobname}}
300300 path : ${{env.FAILED_TEST_ARTIFACTS}}
@@ -320,9 +320,9 @@ jobs:
320320 runs-on : ubuntu-latest
321321 container : ${{matrix.vector.image}}
322322 steps :
323- - uses : actions/checkout@v3
323+ - uses : actions/checkout@v4
324324 if : matrix.vector.jobname != 'linux32'
325- - uses : actions/checkout@v1
325+ - uses : actions/checkout@v1 # cannot be upgraded because Node.js Actions aren't supported in this container
326326 if : matrix.vector.jobname == 'linux32'
327327 - run : ci/install-docker-dependencies.sh
328328 - run : ci/run-build-and-tests.sh
@@ -331,13 +331,13 @@ jobs:
331331 run : ci/print-test-failures.sh
332332 - name : Upload failed tests' directories
333333 if : failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname != 'linux32'
334- uses : actions/upload-artifact@v3
334+ uses : actions/upload-artifact@v4
335335 with :
336336 name : failed-tests-${{matrix.vector.jobname}}
337337 path : ${{env.FAILED_TEST_ARTIFACTS}}
338338 - name : Upload failed tests' directories
339339 if : failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname == 'linux32'
340- uses : actions/upload-artifact@v1
340+ uses : actions/upload-artifact@v1 # cannot be upgraded because Node.js Actions aren't supported in this container
341341 with :
342342 name : failed-tests-${{matrix.vector.jobname}}
343343 path : ${{env.FAILED_TEST_ARTIFACTS}}
@@ -351,7 +351,7 @@ jobs:
351351 group : static-analysis-${{ github.ref }}
352352 cancel-in-progress : ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
353353 steps :
354- - uses : actions/checkout@v3
354+ - uses : actions/checkout@v4
355355 - run : ci/install-dependencies.sh
356356 - run : ci/run-static-analysis.sh
357357 - run : ci/check-directional-formatting.bash
@@ -374,7 +374,7 @@ jobs:
374374 artifact : sparse-20.04
375375 - name : Install the current `sparse` package
376376 run : sudo dpkg -i sparse-20.04/sparse_*.deb
377- - uses : actions/checkout@v3
377+ - uses : actions/checkout@v4
378378 - name : Install other dependencies
379379 run : ci/install-dependencies.sh
380380 - run : make sparse
@@ -389,6 +389,6 @@ jobs:
389389 jobname : Documentation
390390 runs-on : ubuntu-latest
391391 steps :
392- - uses : actions/checkout@v3
392+ - uses : actions/checkout@v4
393393 - run : ci/install-dependencies.sh
394394 - run : ci/test-documentation.sh
0 commit comments