6363 echo "skip_concurrent=$skip_concurrent" >>$GITHUB_OUTPUT
6464 - name : skip if the commit or tree was already tested
6565 id : skip-if-redundant
66- uses : actions/github-script@v6
66+ uses : actions/github-script@v7
6767 if : steps.check-ref.outputs.enabled == 'yes'
6868 with :
6969 github-token : ${{secrets.GITHUB_TOKEN}}
@@ -112,7 +112,7 @@ jobs:
112112 group : windows-build-${{ github.ref }}
113113 cancel-in-progress : ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
114114 steps :
115- - uses : actions/checkout@v3
115+ - uses : actions/checkout@v4
116116 - uses : git-for-windows/setup-git-for-windows-sdk@v1
117117 - name : build
118118 shell : bash
@@ -123,7 +123,7 @@ jobs:
123123 - name : zip up tracked files
124124 run : git archive -o artifacts/tracked.tar.gz HEAD
125125 - name : upload tracked files and build artifacts
126- uses : actions/upload-artifact@v3
126+ uses : actions/upload-artifact@v4
127127 with :
128128 name : windows-artifacts
129129 path : artifacts
@@ -140,7 +140,7 @@ jobs:
140140 cancel-in-progress : ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
141141 steps :
142142 - name : download tracked files and build artifacts
143- uses : actions/download-artifact@v3
143+ uses : actions/download-artifact@v4
144144 with :
145145 name : windows-artifacts
146146 path : ${{github.workspace}}
@@ -157,7 +157,7 @@ jobs:
157157 run : ci/print-test-failures.sh
158158 - name : Upload failed tests' directories
159159 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
160- uses : actions/upload-artifact@v3
160+ uses : actions/upload-artifact@v4
161161 with :
162162 name : failed-tests-windows
163163 path : ${{env.FAILED_TEST_ARTIFACTS}}
@@ -173,10 +173,10 @@ jobs:
173173 group : vs-build-${{ github.ref }}
174174 cancel-in-progress : ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
175175 steps :
176- - uses : actions/checkout@v3
176+ - uses : actions/checkout@v4
177177 - uses : git-for-windows/setup-git-for-windows-sdk@v1
178178 - name : initialize vcpkg
179- uses : actions/checkout@v3
179+ uses : actions/checkout@v4
180180 with :
181181 repository : ' microsoft/vcpkg'
182182 path : ' compat/vcbuild/vcpkg'
@@ -212,7 +212,7 @@ jobs:
212212 - name : zip up tracked files
213213 run : git archive -o artifacts/tracked.tar.gz HEAD
214214 - name : upload tracked files and build artifacts
215- uses : actions/upload-artifact@v3
215+ uses : actions/upload-artifact@v4
216216 with :
217217 name : vs-artifacts
218218 path : artifacts
@@ -230,7 +230,7 @@ jobs:
230230 steps :
231231 - uses : git-for-windows/setup-git-for-windows-sdk@v1
232232 - name : download tracked files and build artifacts
233- uses : actions/download-artifact@v3
233+ uses : actions/download-artifact@v4
234234 with :
235235 name : vs-artifacts
236236 path : ${{github.workspace}}
@@ -248,7 +248,7 @@ jobs:
248248 run : ci/print-test-failures.sh
249249 - name : Upload failed tests' directories
250250 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
251- uses : actions/upload-artifact@v3
251+ uses : actions/upload-artifact@v4
252252 with :
253253 name : failed-tests-windows
254254 path : ${{env.FAILED_TEST_ARTIFACTS}}
@@ -276,11 +276,11 @@ jobs:
276276 pool : ubuntu-20.04
277277 - jobname : osx-clang
278278 cc : clang
279- pool : macos-12
279+ pool : macos-13
280280 - jobname : osx-gcc
281281 cc : gcc
282- cc_package : gcc-9
283- pool : macos-12
282+ cc_package : gcc-13
283+ pool : macos-13
284284 - jobname : linux-gcc-default
285285 cc : gcc
286286 pool : ubuntu-latest
@@ -297,15 +297,15 @@ jobs:
297297 runs_on_pool : ${{matrix.vector.pool}}
298298 runs-on : ${{matrix.vector.pool}}
299299 steps :
300- - uses : actions/checkout@v3
300+ - uses : actions/checkout@v4
301301 - run : ci/install-dependencies.sh
302302 - run : ci/run-build-and-tests.sh
303303 - name : print test failures
304304 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
305305 run : ci/print-test-failures.sh
306306 - name : Upload failed tests' directories
307307 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
308- uses : actions/upload-artifact@v3
308+ uses : actions/upload-artifact@v4
309309 with :
310310 name : failed-tests-${{matrix.vector.jobname}}
311311 path : ${{env.FAILED_TEST_ARTIFACTS}}
@@ -331,9 +331,9 @@ jobs:
331331 runs-on : ubuntu-latest
332332 container : ${{matrix.vector.image}}
333333 steps :
334- - uses : actions/checkout@v3
334+ - uses : actions/checkout@v4
335335 if : matrix.vector.jobname != 'linux32'
336- - uses : actions/checkout@v1
336+ - uses : actions/checkout@v1 # cannot be upgraded because Node.js Actions aren't supported in this container
337337 if : matrix.vector.jobname == 'linux32'
338338 - run : ci/install-docker-dependencies.sh
339339 - run : ci/run-build-and-tests.sh
@@ -342,13 +342,13 @@ jobs:
342342 run : ci/print-test-failures.sh
343343 - name : Upload failed tests' directories
344344 if : failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname != 'linux32'
345- uses : actions/upload-artifact@v3
345+ uses : actions/upload-artifact@v4
346346 with :
347347 name : failed-tests-${{matrix.vector.jobname}}
348348 path : ${{env.FAILED_TEST_ARTIFACTS}}
349349 - name : Upload failed tests' directories
350350 if : failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname == 'linux32'
351- uses : actions/upload-artifact@v1
351+ uses : actions/upload-artifact@v1 # cannot be upgraded because Node.js Actions aren't supported in this container
352352 with :
353353 name : failed-tests-${{matrix.vector.jobname}}
354354 path : ${{env.FAILED_TEST_ARTIFACTS}}
@@ -362,7 +362,7 @@ jobs:
362362 group : static-analysis-${{ github.ref }}
363363 cancel-in-progress : ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
364364 steps :
365- - uses : actions/checkout@v3
365+ - uses : actions/checkout@v4
366366 - run : ci/install-dependencies.sh
367367 - run : ci/run-static-analysis.sh
368368 - run : ci/check-directional-formatting.bash
@@ -385,7 +385,7 @@ jobs:
385385 artifact : sparse-20.04
386386 - name : Install the current `sparse` package
387387 run : sudo dpkg -i sparse-20.04/sparse_*.deb
388- - uses : actions/checkout@v3
388+ - uses : actions/checkout@v4
389389 - name : Install other dependencies
390390 run : ci/install-dependencies.sh
391391 - run : make sparse
@@ -400,6 +400,6 @@ jobs:
400400 jobname : Documentation
401401 runs-on : ubuntu-latest
402402 steps :
403- - uses : actions/checkout@v3
403+ - uses : actions/checkout@v4
404404 - run : ci/install-dependencies.sh
405405 - run : ci/test-documentation.sh
0 commit comments