Skip to content

Commit b2ec4f7

Browse files
ci: Upgrade to checkout@v5 (#536)
1 parent 186aad6 commit b2ec4f7

File tree

8 files changed

+49
-49
lines changed

8 files changed

+49
-49
lines changed

.github/workflows/ci_freshness.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
ci-freshness:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v5
1616
- name: Install Rust
1717
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
1818
with:

.github/workflows/contributors.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111

1212
steps:
1313
- name: Checkout repository
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515
- name: Check PR author in CONTRIBUTORS.md
1616
run: |
1717
pr_author=$(jq -r .pull_request.user.login "$GITHUB_EVENT_PATH")
18-
18+
1919
if [ "$pr_author" = "dependabot[bot]" ]; then
2020
echo "PR author is dependabot[bot]"
2121
exit 0
@@ -24,10 +24,10 @@ jobs:
2424
echo "PR author is pavex-releaser[bot]"
2525
exit 0
2626
fi
27-
27+
2828
pattern="(@$pr_author)"
2929
contributors=$(grep -Eo "$pattern" CONTRIBUTORS.md || true)
30-
30+
3131
if [ -z "$contributors" ]; then
3232
echo "PR author ($pr_author) not found in CONTRIBUTORS.md"
3333
exit 1

.github/workflows/deny.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- advisories
2020
- licenses
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323
- uses: EmbarkStudios/cargo-deny-action@v2
2424
with:
2525
command: check ${{ matrix.checks }}

.github/workflows/docs.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Checkout repository from source repo
3636
if: |
3737
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v5
3939
- name: Checkout repository from fork
4040
if: |
4141
github.event_name == 'repository_dispatch' &&
@@ -44,7 +44,7 @@ jobs:
4444
github.event.client_payload.pull_request.head.sha,
4545
github.event.client_payload.slash_command.args.named.sha
4646
)
47-
uses: actions/checkout@v4
47+
uses: actions/checkout@v5
4848
with:
4949
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
5050
- uses: ./.github/actions/create-check
@@ -102,7 +102,7 @@ jobs:
102102
- name: Checkout repository from source repo
103103
if: |
104104
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
105-
uses: actions/checkout@v4
105+
uses: actions/checkout@v5
106106
- name: Checkout repository from fork
107107
if: |
108108
github.event_name == 'repository_dispatch' &&
@@ -111,7 +111,7 @@ jobs:
111111
github.event.client_payload.pull_request.head.sha,
112112
github.event.client_payload.slash_command.args.named.sha
113113
)
114-
uses: actions/checkout@v4
114+
uses: actions/checkout@v5
115115
with:
116116
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
117117
- uses: ./.github/actions/create-check
@@ -160,7 +160,7 @@ jobs:
160160
- name: Checkout repository from source repo
161161
if: |
162162
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
163-
uses: actions/checkout@v4
163+
uses: actions/checkout@v5
164164
- name: Checkout repository from fork
165165
if: |
166166
github.event_name == 'repository_dispatch' &&
@@ -169,7 +169,7 @@ jobs:
169169
github.event.client_payload.pull_request.head.sha,
170170
github.event.client_payload.slash_command.args.named.sha
171171
)
172-
uses: actions/checkout@v4
172+
uses: actions/checkout@v5
173173
with:
174174
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
175175
- uses: ./.github/actions/create-check
@@ -269,7 +269,7 @@ jobs:
269269
- name: Checkout repository from source repo
270270
if: |
271271
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
272-
uses: actions/checkout@v4
272+
uses: actions/checkout@v5
273273
- name: Checkout repository from fork
274274
if: |
275275
github.event_name == 'repository_dispatch' &&
@@ -278,7 +278,7 @@ jobs:
278278
github.event.client_payload.pull_request.head.sha,
279279
github.event.client_payload.slash_command.args.named.sha
280280
)
281-
uses: actions/checkout@v4
281+
uses: actions/checkout@v5
282282
with:
283283
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
284284
- uses: ./.github/actions/create-check
@@ -367,7 +367,7 @@ jobs:
367367
- name: Checkout repository from source repo
368368
if: |
369369
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
370-
uses: actions/checkout@v4
370+
uses: actions/checkout@v5
371371
- name: Checkout repository from fork
372372
if: |
373373
github.event_name == 'repository_dispatch' &&
@@ -376,7 +376,7 @@ jobs:
376376
github.event.client_payload.pull_request.head.sha,
377377
github.event.client_payload.slash_command.args.named.sha
378378
)
379-
uses: actions/checkout@v4
379+
uses: actions/checkout@v5
380380
with:
381381
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
382382
- uses: ./.github/actions/create-check
@@ -490,7 +490,7 @@ jobs:
490490
- name: Checkout repository from source repo
491491
if: |
492492
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
493-
uses: actions/checkout@v4
493+
uses: actions/checkout@v5
494494
- name: Checkout repository from fork
495495
if: |
496496
github.event_name == 'repository_dispatch' &&
@@ -499,7 +499,7 @@ jobs:
499499
github.event.client_payload.pull_request.head.sha,
500500
github.event.client_payload.slash_command.args.named.sha
501501
)
502-
uses: actions/checkout@v4
502+
uses: actions/checkout@v5
503503
with:
504504
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
505505
- uses: ./.github/actions/create-check
@@ -604,7 +604,7 @@ jobs:
604604
- name: Checkout repository from source repo
605605
if: |
606606
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
607-
uses: actions/checkout@v4
607+
uses: actions/checkout@v5
608608
- name: Checkout repository from fork
609609
if: |
610610
github.event_name == 'repository_dispatch' &&
@@ -613,7 +613,7 @@ jobs:
613613
github.event.client_payload.pull_request.head.sha,
614614
github.event.client_payload.slash_command.args.named.sha
615615
)
616-
uses: actions/checkout@v4
616+
uses: actions/checkout@v5
617617
with:
618618
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
619619
- uses: ./.github/actions/create-check
@@ -688,7 +688,7 @@ jobs:
688688
- name: Checkout repository from source repo
689689
if: |
690690
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
691-
uses: actions/checkout@v4
691+
uses: actions/checkout@v5
692692
- name: Checkout repository from fork
693693
if: |
694694
github.event_name == 'repository_dispatch' &&
@@ -697,7 +697,7 @@ jobs:
697697
github.event.client_payload.pull_request.head.sha,
698698
github.event.client_payload.slash_command.args.named.sha
699699
)
700-
uses: actions/checkout@v4
700+
uses: actions/checkout@v5
701701
with:
702702
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
703703
- uses: ./.github/actions/create-check
@@ -770,7 +770,7 @@ jobs:
770770
- name: Checkout repository from source repo
771771
if: |
772772
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
773-
uses: actions/checkout@v4
773+
uses: actions/checkout@v5
774774
- name: Checkout repository from fork
775775
if: |
776776
github.event_name == 'repository_dispatch' &&
@@ -779,7 +779,7 @@ jobs:
779779
github.event.client_payload.pull_request.head.sha,
780780
github.event.client_payload.slash_command.args.named.sha
781781
)
782-
uses: actions/checkout@v4
782+
uses: actions/checkout@v5
783783
with:
784784
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
785785
- uses: ./.github/actions/create-check
@@ -854,7 +854,7 @@ jobs:
854854
- name: Checkout repository from source repo
855855
if: |
856856
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
857-
uses: actions/checkout@v4
857+
uses: actions/checkout@v5
858858
- name: Checkout repository from fork
859859
if: |
860860
github.event_name == 'repository_dispatch' &&
@@ -863,7 +863,7 @@ jobs:
863863
github.event.client_payload.pull_request.head.sha,
864864
github.event.client_payload.slash_command.args.named.sha
865865
)
866-
uses: actions/checkout@v4
866+
uses: actions/checkout@v5
867867
with:
868868
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
869869
- uses: ./.github/actions/create-check
@@ -924,7 +924,7 @@ jobs:
924924
- name: Checkout repository from source repo
925925
if: |
926926
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
927-
uses: actions/checkout@v4
927+
uses: actions/checkout@v5
928928
- name: Checkout repository from fork
929929
if: |
930930
github.event_name == 'repository_dispatch' &&
@@ -933,7 +933,7 @@ jobs:
933933
github.event.client_payload.pull_request.head.sha,
934934
github.event.client_payload.slash_command.args.named.sha
935935
)
936-
uses: actions/checkout@v4
936+
uses: actions/checkout@v5
937937
with:
938938
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
939939
- uses: ./.github/actions/create-check
@@ -1006,7 +1006,7 @@ jobs:
10061006
- name: Checkout repository from source repo
10071007
if: |
10081008
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
1009-
uses: actions/checkout@v4
1009+
uses: actions/checkout@v5
10101010
- name: Checkout repository from fork
10111011
if: |
10121012
github.event_name == 'repository_dispatch' &&
@@ -1015,7 +1015,7 @@ jobs:
10151015
github.event.client_payload.pull_request.head.sha,
10161016
github.event.client_payload.slash_command.args.named.sha
10171017
)
1018-
uses: actions/checkout@v4
1018+
uses: actions/checkout@v5
10191019
with:
10201020
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
10211021
- uses: ./.github/actions/create-check
@@ -1090,7 +1090,7 @@ jobs:
10901090
- name: Checkout repository from source repo
10911091
if: |
10921092
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
1093-
uses: actions/checkout@v4
1093+
uses: actions/checkout@v5
10941094
- name: Checkout repository from fork
10951095
if: |
10961096
github.event_name == 'repository_dispatch' &&
@@ -1099,7 +1099,7 @@ jobs:
10991099
github.event.client_payload.pull_request.head.sha,
11001100
github.event.client_payload.slash_command.args.named.sha
11011101
)
1102-
uses: actions/checkout@v4
1102+
uses: actions/checkout@v5
11031103
with:
11041104
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
11051105
- uses: ./.github/actions/create-check
@@ -1160,7 +1160,7 @@ jobs:
11601160
- name: Checkout repository from source repo
11611161
if: |
11621162
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
1163-
uses: actions/checkout@v4
1163+
uses: actions/checkout@v5
11641164
- name: Checkout repository from fork
11651165
if: |
11661166
github.event_name == 'repository_dispatch' &&
@@ -1169,7 +1169,7 @@ jobs:
11691169
github.event.client_payload.pull_request.head.sha,
11701170
github.event.client_payload.slash_command.args.named.sha
11711171
)
1172-
uses: actions/checkout@v4
1172+
uses: actions/checkout@v5
11731173
with:
11741174
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
11751175
- uses: ./.github/actions/create-check
@@ -1236,7 +1236,7 @@ jobs:
12361236
- name: Checkout repository from source repo
12371237
if: |
12381238
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
1239-
uses: actions/checkout@v4
1239+
uses: actions/checkout@v5
12401240
- name: Checkout repository from fork
12411241
if: |
12421242
github.event_name == 'repository_dispatch' &&
@@ -1245,7 +1245,7 @@ jobs:
12451245
github.event.client_payload.pull_request.head.sha,
12461246
github.event.client_payload.slash_command.args.named.sha
12471247
)
1248-
uses: actions/checkout@v4
1248+
uses: actions/checkout@v5
12491249
with:
12501250
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
12511251
- uses: ./.github/actions/create-check
@@ -1312,7 +1312,7 @@ jobs:
13121312
- name: Checkout repository from source repo
13131313
if: |
13141314
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
1315-
uses: actions/checkout@v4
1315+
uses: actions/checkout@v5
13161316
- name: Checkout repository from fork
13171317
if: |
13181318
github.event_name == 'repository_dispatch' &&
@@ -1321,7 +1321,7 @@ jobs:
13211321
github.event.client_payload.pull_request.head.sha,
13221322
github.event.client_payload.slash_command.args.named.sha
13231323
)
1324-
uses: actions/checkout@v4
1324+
uses: actions/checkout@v5
13251325
with:
13261326
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
13271327
- uses: ./.github/actions/create-check
@@ -1377,7 +1377,7 @@ jobs:
13771377
- name: Checkout repository from source repo
13781378
if: |
13791379
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
1380-
uses: actions/checkout@v4
1380+
uses: actions/checkout@v5
13811381
- name: Checkout repository from fork
13821382
if: |
13831383
github.event_name == 'repository_dispatch' &&
@@ -1386,7 +1386,7 @@ jobs:
13861386
github.event.client_payload.pull_request.head.sha,
13871387
github.event.client_payload.slash_command.args.named.sha
13881388
)
1389-
uses: actions/checkout@v4
1389+
uses: actions/checkout@v5
13901390
with:
13911391
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
13921392
- uses: ./.github/actions/create-check
@@ -1468,7 +1468,7 @@ jobs:
14681468
- name: Checkout repository from source repo
14691469
if: |
14701470
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
1471-
uses: actions/checkout@v4
1471+
uses: actions/checkout@v5
14721472
- name: Checkout repository from fork
14731473
if: |
14741474
github.event_name == 'repository_dispatch' &&
@@ -1477,7 +1477,7 @@ jobs:
14771477
github.event.client_payload.pull_request.head.sha,
14781478
github.event.client_payload.slash_command.args.named.sha
14791479
)
1480-
uses: actions/checkout@v4
1480+
uses: actions/checkout@v5
14811481
with:
14821482
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
14831483
- uses: ./.github/actions/create-check
@@ -1572,7 +1572,7 @@ jobs:
15721572
- name: Checkout repository from source repo
15731573
if: |
15741574
(github.event_name == 'push' && github.event.repository.full_name == github.repository)
1575-
uses: actions/checkout@v4
1575+
uses: actions/checkout@v5
15761576
- name: Checkout repository from fork
15771577
if: |
15781578
github.event_name == 'repository_dispatch' &&
@@ -1581,7 +1581,7 @@ jobs:
15811581
github.event.client_payload.pull_request.head.sha,
15821582
github.event.client_payload.slash_command.args.named.sha
15831583
)
1584-
uses: actions/checkout@v4
1584+
uses: actions/checkout@v5
15851585
with:
15861586
ref: "refs/pull/${{ github.event.client_payload.pull_request.number }}/merge"
15871587
- uses: ./.github/actions/create-check

.github/workflows/enable-workspace-hack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Test
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2121
with:
2222
ref: "main"
2323
- uses: actions-rust-lang/setup-rust-toolchain@v1

0 commit comments

Comments
 (0)