Skip to content

Commit 1819bb1

Browse files
authored
Update versions of GitHub Actions used in workflows (#960)
1 parent 87e671c commit 1819bb1

6 files changed

Lines changed: 22 additions & 24 deletions

File tree

.github/actions/set-up-bazel/action.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ description: Installs Bazel and sets up multiple caches
2222
inputs:
2323
debug:
2424
description: 'Run with debugging options'
25-
type: boolean
2625
required: false
2726
default: true
2827
bazel-version:
2928
description: 'Version of Bazel to use:'
30-
type: string
3129
required: false
3230
default: ''
3331

.github/workflows/ci.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
timeout-minutes: 20
6363
steps:
6464
- name: Check out a copy of the git repository
65-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
65+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
6666
with:
6767
fetch-depth: 0
6868

@@ -97,7 +97,7 @@ jobs:
9797
timeout-minutes: 15
9898
steps:
9999
- name: Check out a copy of the git repository
100-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
100+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
101101
with:
102102
fetch-depth: 0
103103

@@ -118,7 +118,7 @@ jobs:
118118
timeout-minutes: 15
119119
steps:
120120
- name: Check out a copy of the git repository
121-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
121+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
122122
with:
123123
fetch-depth: 0
124124

@@ -140,7 +140,7 @@ jobs:
140140
timeout-minutes: 15
141141
steps:
142142
- name: Check out a copy of the git repository
143-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
143+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
144144
with:
145145
fetch-depth: 0
146146

@@ -164,7 +164,7 @@ jobs:
164164
timeout-minutes: 15
165165
steps:
166166
- name: Check out a copy of the git repository
167-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
167+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
168168
with:
169169
fetch-depth: 0
170170

@@ -187,7 +187,7 @@ jobs:
187187
timeout-minutes: 15
188188
steps:
189189
- name: Check out a copy of the git repository
190-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
190+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
191191
with:
192192
fetch-depth: 0
193193

@@ -225,7 +225,7 @@ jobs:
225225
- '3.13'
226226
steps:
227227
- name: Check out a copy of the git repository
228-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
228+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
229229
with:
230230
submodules: recursive
231231

@@ -311,7 +311,7 @@ jobs:
311311
parallel_opt: [openmp, nopenmp]
312312
steps:
313313
- name: Check out a copy of the git repository
314-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
314+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
315315
with:
316316
submodules: recursive
317317

@@ -366,7 +366,7 @@ jobs:
366366
tests:all
367367
steps:
368368
- name: Check out a copy of the git repository
369-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
369+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
370370
with:
371371
submodules: recursive
372372

@@ -418,7 +418,7 @@ jobs:
418418
BUILDKIT_PROGRESS: ${{inputs.debug && 'plain'}}
419419
steps:
420420
- name: Check out a copy of the git repository
421-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
421+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
422422
with:
423423
submodules: recursive
424424

.github/workflows/cirq_compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
timeout-minutes: 30
4141
steps:
4242
- name: Check out a copy of the git repository
43-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
43+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
4444
with:
4545
fetch-depth: 1
4646
submodules: recursive

.github/workflows/osv-scanner.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
SHELLOPTS: ${{inputs.debug && 'xtrace' || '' }}
6363
steps:
6464
- name: Check out a copy of the git repository
65-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
65+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
6666
with:
6767
fetch-depth: 0
6868

@@ -73,7 +73,7 @@ jobs:
7373
7474
- name: Run OSV scanner on existing code
7575
# yamllint disable rule:line-length
76-
uses: google/osv-scanner-action/osv-scanner-action@9bb69575e74019c2ad085a1860787043adf47ccb # v2.2.4
76+
uses: google/osv-scanner-action/osv-scanner-action@b77c075a1235514558f0eb88dbd31e22c45e0cd2 # v2.3.0
7777
continue-on-error: true
7878
with:
7979
scan-args: |-
@@ -91,7 +91,7 @@ jobs:
9191
9292
- name: Run OSV scanner on new code
9393
# yamllint disable rule:line-length
94-
uses: google/osv-scanner-action/osv-scanner-action@9bb69575e74019c2ad085a1860787043adf47ccb # v2.2.4
94+
uses: google/osv-scanner-action/osv-scanner-action@b77c075a1235514558f0eb88dbd31e22c45e0cd2 # v2.3.0
9595
continue-on-error: true
9696
with:
9797
scan-args: |-
@@ -103,7 +103,7 @@ jobs:
103103
104104
- name: Run the OSV scanner reporter for the job summary page
105105
# yamllint disable rule:line-length
106-
uses: google/osv-scanner-action/osv-reporter-action@9bb69575e74019c2ad085a1860787043adf47ccb # v2.2.4
106+
uses: google/osv-scanner-action/osv-reporter-action@b77c075a1235514558f0eb88dbd31e22c45e0cd2 # v2.3.0
107107
with:
108108
scan-args: |-
109109
--output=markdown:output.md
@@ -116,7 +116,7 @@ jobs:
116116

117117
- name: Run the OSV scanner reporter for the code-scanning dashboard
118118
# yamllint disable rule:line-length
119-
uses: google/osv-scanner-action/osv-reporter-action@9bb69575e74019c2ad085a1860787043adf47ccb # v2.2.4
119+
uses: google/osv-scanner-action/osv-reporter-action@b77c075a1235514558f0eb88dbd31e22c45e0cd2 # v2.3.0
120120
with:
121121
scan-args: |-
122122
--output=osv-results.sarif
@@ -128,7 +128,7 @@ jobs:
128128
- name: Upload results to the repository's code-scanning results dashboard
129129
id: upload_artifact
130130
# yamllint disable rule:line-length
131-
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v3.29.5
131+
uses: github/codeql-action/upload-sarif@ba454b8ab46733eb6145342877cd148270bb77ab # codeql-bundle-v2.23.5
132132
with:
133133
sarif_file: osv-results.sarif
134134

.github/workflows/pr-labeler.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
SHELLOPTS: ${{inputs.debug && 'xtrace' || '' }}
6262
steps:
6363
- name: Check out a copy of the git repository
64-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
64+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
6565
with:
6666
sparse-checkout: |
6767
./dev_tools/ci/size-labeler.sh

.github/workflows/scorecard-scanner.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
timeout-minutes: 15
5858
steps:
5959
- name: Check out a copy of the git repository
60-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
60+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
6161
with:
6262
persist-credentials: false
6363

@@ -73,11 +73,11 @@ jobs:
7373

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

80-
- if: github.event.inputs.debug == true
80+
- 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
8383
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
@@ -91,7 +91,7 @@ jobs:
9191
write-summary:
9292
name: Scorecard results
9393
needs: run-scorecard
94-
runs-on: ubuntu-24.04
94+
runs-on: ubuntu-slim
9595
timeout-minutes: 5
9696
steps:
9797
- name: Write the Scorecard report page link to the workflow summary

0 commit comments

Comments
 (0)