Skip to content

Commit 50eca79

Browse files
authored
Update GitHub Actions versions to latest (#1202)
Update all workflows to update the versions of GitHub Actions used.
1 parent 31c3db5 commit 50eca79

3 files changed

Lines changed: 14 additions & 13 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ jobs:
202202
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
203203

204204
- name: Set up Python with caching of pip dependencies
205-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
205+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
206206
with:
207207
python-version: ${{inputs.python_ver || env.python_ver}}
208208
architecture: 'x64'
@@ -233,7 +233,7 @@ jobs:
233233
fetch-depth: 0
234234

235235
- name: Set up Python and restore cache
236-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
236+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
237237
with:
238238
python-version: ${{inputs.python_ver || env.python_ver}}
239239
architecture: 'x64'
@@ -260,7 +260,7 @@ jobs:
260260
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
261261

262262
- name: Set up Python and restore cache
263-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
263+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
264264
with:
265265
python-version: ${{inputs.python_ver || env.python_ver}}
266266
architecture: 'x64'
@@ -287,7 +287,7 @@ jobs:
287287
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
288288

289289
- name: Set up Python and restore cache
290-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
290+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
291291
with:
292292
python-version: ${{inputs.python_ver || env.python_ver}}
293293
architecture: 'x64'
@@ -327,7 +327,7 @@ jobs:
327327
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
328328

329329
- name: Set up Python and restore cache
330-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
330+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
331331
with:
332332
python-version: ${{inputs.python_ver || env.python_ver}}
333333
cache: pip
@@ -374,7 +374,7 @@ jobs:
374374
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
375375

376376
- name: Set up Python and restore cache
377-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
377+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
378378
with:
379379
python-version: ${{inputs.python_ver || env.python_ver}}
380380
cache: pip
@@ -418,7 +418,7 @@ jobs:
418418
# Note: deliberately not using our Python cache here b/c this runs
419419
# a different version of Python.
420420
- name: Set up Python and restore cache
421-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
421+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
422422
with:
423423
python-version: ${{env.python_compat_ver}}
424424

@@ -444,7 +444,7 @@ jobs:
444444
fetch-depth: 0
445445

446446
- name: Set up Python and restore cache
447-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
447+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
448448
with:
449449
python-version: ${{inputs.python_ver || env.python_ver}}
450450
cache: pip
@@ -558,7 +558,8 @@ jobs:
558558

559559
# The next action simply fails if there are any unpinned actions.
560560
- name: Verify that all workflow actions have pinned versions
561-
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@9e9574ef04ea69da568d6249bd69539ccc704e74
561+
# yamllint disable-line rule:line-length
562+
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@d5d20e15f2736816ee0e001ba8b24b54d9ffcff4 # v5.0.0
562563

563564
# If we didn't fail the previous check, go on to more time-consuming ones.
564565
- name: Install actionlint
@@ -598,7 +599,7 @@ jobs:
598599
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
599600

600601
- name: Set up Python with caching of pip dependencies
601-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
602+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
602603
with:
603604
python-version: ${{inputs.python_ver || env.python_ver}}
604605
architecture: 'x64'

.github/workflows/nightly-pytest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7878

7979
- name: Set up Python ${{matrix.python-version}}
80-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v5
80+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
8181
id: cache
8282
with:
8383
python-version: ${{matrix.python-version}}

.github/workflows/scorecard-scanner.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ jobs:
7373

7474
- name: Upload results to code-scanning dashboard
7575
# yamllint disable rule:line-length
76-
uses: github/codeql-action/upload-sarif@ba454b8ab46733eb6145342877cd148270bb77ab # codeql-bundle-v2.23.5
76+
uses: github/codeql-action/upload-sarif@5e7a52feb2a3dfb87f88be2af33b9e2275f48de6 # codeql-bundle-v2.24.2
7777
with:
7878
sarif_file: scorecard-results.sarif
7979

8080
- if: github.event.inputs.debug == true || runner.debug == true
8181
name: Upload results as artifacts to the workflow Summary page
8282
# yamllint disable rule:line-length
83-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
83+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
8484
with:
8585
name: Scorecard SARIF file
8686
path: scorecard-results.sarif

0 commit comments

Comments
 (0)