Skip to content

Commit e94dec0

Browse files
committed
GitHub Actions: update to checkout@v4
We seem to be getting "Node.js 16 actions are deprecated." warnings for jobs that use checkout@v3. Except for the i686 containers job that is kept at checkout@v1 [*], update to checkout@v4, which is said to use Node.js 20. [*] 6cf4d90 (ci(main): upgrade actions/checkout to v3, 2022-12-05) refers to actions/runner#2115 and explains why container jobs are kept at checkout@v1. We may want to check the current status of the issue and move it to the same version as other jobs, but that is outside the scope of this step. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 564d025 commit e94dec0

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/check-whitespace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
check-whitespace:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 0
2525

.github/workflows/coverity.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
COVERITY_LANGUAGE: cxx
3939
COVERITY_PLATFORM: overridden-below
4040
steps:
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4242
- name: install minimal Git for Windows SDK
4343
if: contains(matrix.os, 'windows')
4444
uses: git-for-windows/setup-git-for-windows-sdk@v1

.github/workflows/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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
@@ -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'
@@ -297,7 +297,7 @@ 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
@@ -331,7 +331,7 @@ 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'
336336
- uses: actions/checkout@v1
337337
if: matrix.vector.jobname == 'linux32'
@@ -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

Comments
 (0)