Skip to content

Commit 9044a39

Browse files
committed
Merge branch 'od/ci-use-checkout-v3-when-applicable'
Update GitHub CI to use actions/checkout@v3; use of the older checkout@v2 gets annoying deprecation notices. * od/ci-use-checkout-v3-when-applicable: ci(main): upgrade actions/checkout to v3
2 parents 38645f8 + 6cf4d90 commit 9044a39

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
if: needs.ci-config.outputs.enabled == 'yes'
8484
runs-on: windows-latest
8585
steps:
86-
- uses: actions/checkout@v2
86+
- uses: actions/checkout@v3
8787
- uses: git-for-windows/setup-git-for-windows-sdk@v1
8888
- name: build
8989
shell: bash
@@ -138,10 +138,10 @@ jobs:
138138
GIT_CONFIG_PARAMETERS: "'user.name=CI' 'user.email=ci@git'"
139139
runs-on: windows-latest
140140
steps:
141-
- uses: actions/checkout@v2
141+
- uses: actions/checkout@v3
142142
- uses: git-for-windows/setup-git-for-windows-sdk@v1
143143
- name: initialize vcpkg
144-
uses: actions/checkout@v2
144+
uses: actions/checkout@v3
145145
with:
146146
repository: 'microsoft/vcpkg'
147147
path: 'compat/vcbuild/vcpkg'
@@ -262,7 +262,7 @@ jobs:
262262
runs_on_pool: ${{matrix.vector.pool}}
263263
runs-on: ${{matrix.vector.pool}}
264264
steps:
265-
- uses: actions/checkout@v2
265+
- uses: actions/checkout@v3
266266
- run: ci/install-dependencies.sh
267267
- run: ci/run-build-and-tests.sh
268268
- name: print test failures
@@ -294,7 +294,10 @@ jobs:
294294
runs-on: ubuntu-latest
295295
container: ${{matrix.vector.image}}
296296
steps:
297+
- uses: actions/checkout@v3
298+
if: matrix.vector.jobname != 'linux32'
297299
- uses: actions/checkout@v1
300+
if: matrix.vector.jobname == 'linux32'
298301
- run: ci/install-docker-dependencies.sh
299302
- run: ci/run-build-and-tests.sh
300303
- name: print test failures
@@ -314,7 +317,7 @@ jobs:
314317
jobname: StaticAnalysis
315318
runs-on: ubuntu-22.04
316319
steps:
317-
- uses: actions/checkout@v2
320+
- uses: actions/checkout@v3
318321
- run: ci/install-dependencies.sh
319322
- run: ci/run-static-analysis.sh
320323
- run: ci/check-directional-formatting.bash
@@ -334,7 +337,7 @@ jobs:
334337
artifact: sparse-20.04
335338
- name: Install the current `sparse` package
336339
run: sudo dpkg -i sparse-20.04/sparse_*.deb
337-
- uses: actions/checkout@v2
340+
- uses: actions/checkout@v3
338341
- name: Install other dependencies
339342
run: ci/install-dependencies.sh
340343
- run: make sparse
@@ -346,6 +349,6 @@ jobs:
346349
jobname: Documentation
347350
runs-on: ubuntu-latest
348351
steps:
349-
- uses: actions/checkout@v2
352+
- uses: actions/checkout@v3
350353
- run: ci/install-dependencies.sh
351354
- run: ci/test-documentation.sh

0 commit comments

Comments
 (0)