Skip to content

Commit fda56f6

Browse files
authored
Update actions/checkout to v7 (#294)
1 parent 6078937 commit fda56f6

5 files changed

Lines changed: 37 additions & 37 deletions

File tree

.github/workflows/create_automerge_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
pull-requests: write
7070
steps:
7171
- name: Checkout repository
72-
uses: actions/checkout@v4
72+
uses: actions/checkout@v7
7373
with:
7474
fetch-depth: 0
7575
- name: Check if there are commits to merge

.github/workflows/performance_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install libjemalloc-dev
3636
run: apt-get update && apt-get install -y libjemalloc-dev
3737
- name: Checkout repository
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v7
3939
with:
4040
fetch-depth: 0
4141
- name: Mark the workspace as safe

.github/workflows/proposal_validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
RESOLVED_PR_NUMBER: ${{ case(inputs.workflow_test_enabled, '3331', github.event.number) }}
2424
steps:
2525
- name: Checkout swiftlang/swift-evolution-metadata-extractor (main)
26-
uses: actions/checkout@v6
26+
uses: actions/checkout@v7
2727
with:
2828
repository: swiftlang/swift-evolution-metadata-extractor
2929
ref: main

.github/workflows/soundness.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
timeout-minutes: 40
139139
steps:
140140
- name: Checkout repository
141-
uses: actions/checkout@v4
141+
uses: actions/checkout@v7
142142
with:
143143
# This is set to true since swift package diagnose-api-breaking-changes is
144144
# cloning the repo again and without it being set to true this job won't work for
@@ -182,13 +182,13 @@ jobs:
182182
timeout-minutes: 20
183183
steps:
184184
- name: Checkout repository
185-
uses: actions/checkout@v4
185+
uses: actions/checkout@v7
186186
with:
187187
persist-credentials: false
188188
submodules: true
189189
- name: Checkout swiftlang/github-workflows repository
190190
if: ${{ github.repository != 'swiftlang/github-workflows' }}
191-
uses: actions/checkout@v4
191+
uses: actions/checkout@v7
192192
with:
193193
repository: swiftlang/github-workflows
194194
path: github-workflows
@@ -226,13 +226,13 @@ jobs:
226226
timeout-minutes: 20
227227
steps:
228228
- name: Checkout repository
229-
uses: actions/checkout@v4
229+
uses: actions/checkout@v7
230230
with:
231231
persist-credentials: false
232232
submodules: true
233233
- name: Checkout swiftlang/github-workflows repository
234234
if: ${{ github.repository != 'swiftlang/github-workflows' }}
235-
uses: actions/checkout@v4
235+
uses: actions/checkout@v7
236236
with:
237237
repository: swiftlang/github-workflows
238238
path: github-workflows
@@ -277,13 +277,13 @@ jobs:
277277
timeout-minutes: 1
278278
steps:
279279
- name: Checkout repository
280-
uses: actions/checkout@v4
280+
uses: actions/checkout@v7
281281
with:
282282
persist-credentials: false
283283
submodules: true
284284
- name: Checkout swiftlang/github-workflows repository
285285
if: ${{ github.repository != 'swiftlang/github-workflows' }}
286-
uses: actions/checkout@v4
286+
uses: actions/checkout@v7
287287
with:
288288
repository: swiftlang/github-workflows
289289
path: github-workflows
@@ -308,13 +308,13 @@ jobs:
308308
timeout-minutes: 1
309309
steps:
310310
- name: Checkout repository
311-
uses: actions/checkout@v4
311+
uses: actions/checkout@v7
312312
with:
313313
persist-credentials: false
314314
submodules: true
315315
- name: Checkout swiftlang/github-workflows repository
316316
if: ${{ github.repository != 'swiftlang/github-workflows' }}
317-
uses: actions/checkout@v4
317+
uses: actions/checkout@v7
318318
with:
319319
repository: swiftlang/github-workflows
320320
path: github-workflows
@@ -339,13 +339,13 @@ jobs:
339339
timeout-minutes: 1
340340
steps:
341341
- name: Checkout repository
342-
uses: actions/checkout@v4
342+
uses: actions/checkout@v7
343343
with:
344344
persist-credentials: false
345345
submodules: true
346346
- name: Checkout swiftlang/github-workflows repository
347347
if: ${{ github.repository != 'swiftlang/github-workflows' }}
348-
uses: actions/checkout@v4
348+
uses: actions/checkout@v7
349349
with:
350350
repository: swiftlang/github-workflows
351351
path: github-workflows
@@ -371,13 +371,13 @@ jobs:
371371
timeout-minutes: 20
372372
steps:
373373
- name: Checkout repository
374-
uses: actions/checkout@v4
374+
uses: actions/checkout@v7
375375
with:
376376
persist-credentials: false
377377
submodules: true
378378
- name: Checkout swiftlang/github-workflows repository
379379
if: ${{ github.repository != 'swiftlang/github-workflows' }}
380-
uses: actions/checkout@v4
380+
uses: actions/checkout@v7
381381
with:
382382
repository: swiftlang/github-workflows
383383
path: github-workflows
@@ -408,7 +408,7 @@ jobs:
408408
- name: Install git
409409
run: which git || (apt -q update && apt -yq install git)
410410
- name: Checkout repository
411-
uses: actions/checkout@v4
411+
uses: actions/checkout@v7
412412
with:
413413
persist-credentials: false
414414
submodules: true
@@ -427,13 +427,13 @@ jobs:
427427
timeout-minutes: 5
428428
steps:
429429
- name: Checkout repository
430-
uses: actions/checkout@v4
430+
uses: actions/checkout@v7
431431
with:
432432
persist-credentials: false
433433
submodules: true
434434
- name: Checkout swiftlang/github-workflows repository
435435
if: ${{ github.repository != 'swiftlang/github-workflows' }}
436-
uses: actions/checkout@v4
436+
uses: actions/checkout@v7
437437
with:
438438
repository: swiftlang/github-workflows
439439
path: github-workflows
@@ -464,13 +464,13 @@ jobs:
464464
timeout-minutes: 5
465465
steps:
466466
- name: Checkout repository
467-
uses: actions/checkout@v4
467+
uses: actions/checkout@v7
468468
with:
469469
persist-credentials: false
470470
submodules: true
471471
- name: Checkout swiftlang/github-workflows repository
472472
if: ${{ github.repository != 'swiftlang/github-workflows' }}
473-
uses: actions/checkout@v4
473+
uses: actions/checkout@v7
474474
with:
475475
repository: swiftlang/github-workflows
476476
path: github-workflows

.github/workflows/swift_package_test.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ jobs:
285285
- ${{ fromJson(inputs.macos_exclude_xcode_versions) }}
286286
steps:
287287
- name: Checkout repository
288-
uses: actions/checkout@v4
288+
uses: actions/checkout@v7
289289
- name: Provide token
290290
if: ${{ inputs.needs_token }}
291291
run: |
@@ -327,7 +327,7 @@ jobs:
327327
- ${{ fromJson(inputs.ios_host_exclude_xcode_versions || inputs.macos_exclude_xcode_versions) }}
328328
steps:
329329
- name: Checkout repository
330-
uses: actions/checkout@v4
330+
uses: actions/checkout@v7
331331
- name: Provide token
332332
if: ${{ inputs.needs_token }}
333333
run: |
@@ -387,14 +387,14 @@ jobs:
387387
- name: Clang version
388388
run: clang --version
389389
- name: Checkout repository
390-
uses: actions/checkout@v4
390+
uses: actions/checkout@v7
391391
if: ${{ matrix.os_version != 'amazonlinux2' }}
392392
- name: Checkout repository
393393
uses: actions/checkout@v1
394394
if: ${{ matrix.os_version == 'amazonlinux2' }}
395395
- name: Checkout swiftlang/github-workflows repository
396396
if: ${{ matrix.os_version != 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }}
397-
uses: actions/checkout@v4
397+
uses: actions/checkout@v7
398398
with:
399399
repository: swiftlang/github-workflows
400400
path: github-workflows
@@ -471,14 +471,14 @@ jobs:
471471
- name: Clang version
472472
run: clang --version
473473
- name: Checkout repository
474-
uses: actions/checkout@v4
474+
uses: actions/checkout@v7
475475
if: ${{ matrix.os_version != 'amazonlinux2' }}
476476
- name: Checkout repository
477477
uses: actions/checkout@v1
478478
if: ${{ matrix.os_version == 'amazonlinux2' }}
479479
- name: Checkout swiftlang/github-workflows repository
480480
if: ${{ matrix.os_version != 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }}
481-
uses: actions/checkout@v4
481+
uses: actions/checkout@v7
482482
with:
483483
repository: swiftlang/github-workflows
484484
path: github-workflows
@@ -540,14 +540,14 @@ jobs:
540540
- name: Clang version
541541
run: clang --version
542542
- name: Checkout repository
543-
uses: actions/checkout@v4
543+
uses: actions/checkout@v7
544544
if: ${{ matrix.os_version != 'amazonlinux2' }}
545545
- name: Checkout repository
546546
uses: actions/checkout@v1
547547
if: ${{ matrix.os_version == 'amazonlinux2' }}
548548
- name: Checkout swiftlang/github-workflows repository
549549
if: ${{ matrix.os_version != 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }}
550-
uses: actions/checkout@v4
550+
uses: actions/checkout@v7
551551
with:
552552
repository: swiftlang/github-workflows
553553
path: github-workflows
@@ -609,14 +609,14 @@ jobs:
609609
- name: Clang version
610610
run: clang --version
611611
- name: Checkout repository
612-
uses: actions/checkout@v4
612+
uses: actions/checkout@v7
613613
if: ${{ matrix.os_version != 'amazonlinux2' }}
614614
- name: Checkout repository
615615
uses: actions/checkout@v1
616616
if: ${{ matrix.os_version == 'amazonlinux2' }}
617617
- name: Checkout swiftlang/github-workflows repository
618618
if: ${{ matrix.os_version != 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }}
619-
uses: actions/checkout@v4
619+
uses: actions/checkout@v7
620620
with:
621621
repository: swiftlang/github-workflows
622622
path: github-workflows
@@ -679,9 +679,9 @@ jobs:
679679
sudo rm /usr/local/lib/libsourcekitdInProc.so
680680
sudo rm -r /usr/share/swift
681681
- name: Checkout repository
682-
uses: actions/checkout@v4
682+
uses: actions/checkout@v7
683683
- name: Checkout swiftlang/github-workflows repository
684-
uses: actions/checkout@v4
684+
uses: actions/checkout@v7
685685
with:
686686
repository: swiftlang/github-workflows
687687
path: github-workflows
@@ -750,10 +750,10 @@ jobs:
750750
- ${{ fromJson(inputs.windows_exclude_swift_versions) }}
751751
steps:
752752
- name: Checkout repository
753-
uses: actions/checkout@v4
753+
uses: actions/checkout@v7
754754
- name: Checkout swiftlang/github-workflows repository
755755
if: ${{ github.repository != 'swiftlang/github-workflows' }}
756-
uses: actions/checkout@v4
756+
uses: actions/checkout@v7
757757
with:
758758
repository: swiftlang/github-workflows
759759
path: github-workflows
@@ -924,10 +924,10 @@ jobs:
924924
runner: ubuntu-24.04
925925
steps:
926926
- name: Checkout repository
927-
uses: actions/checkout@v6
927+
uses: actions/checkout@v7
928928
- name: Checkout swiftlang/github-workflows repository
929929
if: ${{ github.repository != 'swiftlang/github-workflows' }}
930-
uses: actions/checkout@v6
930+
uses: actions/checkout@v7
931931
with:
932932
repository: swiftlang/github-workflows
933933
path: github-workflows

0 commit comments

Comments
 (0)