Skip to content

Commit d872009

Browse files
committed
Merge branch 'upgrade-two-actions-to-v5'
This topic integrates a patch that updates the `actions/checkout` and `actions/download-artifact` Actions to v5. The main aim is to keep the versions up to date; It does not change any behavior because the Git project does not use any self-hosted runners (where the only incompatible change of `actions/checkout` could potentially break: It increases the required node.js version), and neither does it use the feature of `actions/download-artifact` where it is possible to refer to the artifact by ID instead of name. Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 76d27a6 + b38d065 commit d872009

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

.github/workflows/check-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
jobname: ClangFormat
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424
with:
2525
fetch-depth: 0
2626

.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@v4
22+
- uses: actions/checkout@v5
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@v4
41+
- uses: actions/checkout@v5
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: 14 additions & 14 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@v4
115+
- uses: actions/checkout@v5
116116
- uses: git-for-windows/setup-git-for-windows-sdk@v1
117117
- name: build
118118
shell: bash
@@ -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@v4
143+
uses: actions/download-artifact@v5
144144
with:
145145
name: windows-artifacts
146146
path: ${{github.workspace}}
@@ -176,10 +176,10 @@ jobs:
176176
group: vs-build-${{ github.ref }}-${{ matrix.arch }}
177177
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
178178
steps:
179-
- uses: actions/checkout@v4
179+
- uses: actions/checkout@v5
180180
- uses: git-for-windows/setup-git-for-windows-sdk@v1
181181
- name: initialize vcpkg
182-
uses: actions/checkout@v4
182+
uses: actions/checkout@v5
183183
with:
184184
repository: 'microsoft/vcpkg'
185185
path: 'compat/vcbuild/vcpkg'
@@ -229,7 +229,7 @@ jobs:
229229
steps:
230230
- uses: git-for-windows/setup-git-for-windows-sdk@v1
231231
- name: download tracked files and build artifacts
232-
uses: actions/download-artifact@v4
232+
uses: actions/download-artifact@v5
233233
with:
234234
name: vs-artifacts-x64
235235
path: ${{github.workspace}}
@@ -261,7 +261,7 @@ jobs:
261261
group: windows-meson-build-${{ github.ref }}
262262
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
263263
steps:
264-
- uses: actions/checkout@v4
264+
- uses: actions/checkout@v5
265265
- uses: actions/setup-python@v5
266266
- name: Set up dependencies
267267
shell: pwsh
@@ -289,13 +289,13 @@ jobs:
289289
group: windows-meson-test-${{ matrix.nr }}-${{ github.ref }}
290290
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
291291
steps:
292-
- uses: actions/checkout@v4
292+
- uses: actions/checkout@v5
293293
- uses: actions/setup-python@v5
294294
- name: Set up dependencies
295295
shell: pwsh
296296
run: pip install meson ninja
297297
- name: Download build artifacts
298-
uses: actions/download-artifact@v4
298+
uses: actions/download-artifact@v5
299299
with:
300300
name: windows-meson-artifacts
301301
path: build
@@ -334,7 +334,7 @@ jobs:
334334
TEST_OUTPUT_DIRECTORY: ${{github.workspace}}/t
335335
runs-on: ${{matrix.vector.pool}}
336336
steps:
337-
- uses: actions/checkout@v4
337+
- uses: actions/checkout@v5
338338
- run: ci/install-dependencies.sh
339339
- run: ci/run-build-and-tests.sh
340340
- name: print test failures
@@ -355,7 +355,7 @@ jobs:
355355
CI_JOB_IMAGE: ubuntu-latest
356356
runs-on: ubuntu-latest
357357
steps:
358-
- uses: actions/checkout@v4
358+
- uses: actions/checkout@v5
359359
- run: ci/install-dependencies.sh
360360
- run: ci/run-build-and-minimal-fuzzers.sh
361361
dockerized:
@@ -432,7 +432,7 @@ jobs:
432432
else
433433
apt-get -q update && apt-get -q -y install git
434434
fi
435-
- uses: actions/checkout@v4
435+
- uses: actions/checkout@v5
436436
- run: ci/install-dependencies.sh
437437
- run: useradd builder --create-home
438438
- run: chown -R builder .
@@ -457,7 +457,7 @@ jobs:
457457
group: static-analysis-${{ github.ref }}
458458
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
459459
steps:
460-
- uses: actions/checkout@v4
460+
- uses: actions/checkout@v5
461461
- run: ci/install-dependencies.sh
462462
- run: ci/run-static-analysis.sh
463463
- run: ci/check-directional-formatting.bash
@@ -472,7 +472,7 @@ jobs:
472472
group: sparse-${{ github.ref }}
473473
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
474474
steps:
475-
- uses: actions/checkout@v4
475+
- uses: actions/checkout@v5
476476
- name: Install other dependencies
477477
run: ci/install-dependencies.sh
478478
- run: make sparse
@@ -488,6 +488,6 @@ jobs:
488488
CI_JOB_IMAGE: ubuntu-latest
489489
runs-on: ubuntu-latest
490490
steps:
491-
- uses: actions/checkout@v4
491+
- uses: actions/checkout@v5
492492
- run: ci/install-dependencies.sh
493493
- run: ci/test-documentation.sh

0 commit comments

Comments
 (0)