Skip to content

Commit 3eb8b28

Browse files
committed
Auto merge of rust-lang#12127 - dtolnay-contrib:checkoutv3, r=lnicola
Update GitHub Actions actions/checkout@v2 to v3 The v2 implementation uses Node 12, which is end-of-life on April 30, 2022. See https://nodejs.org/en/about/releases/. Update to v3, which is based on Node 16 whose support lasts until April 30, 2024. They made this a major version change (v2 to v3) because old GitHub Enterprise versions aren't necessarily compatible with Node 16, but for github.com-supplied runners (SaaS) there is no practical difference.
2 parents ce9cc7d + 5bea4ba commit 3eb8b28

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/ci.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: Checkout repository
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v3
3636
with:
3737
ref: ${{ github.event.pull_request.head.sha }}
3838
fetch-depth: 20
@@ -76,7 +76,7 @@ jobs:
7676

7777
steps:
7878
- name: Checkout repository
79-
uses: actions/checkout@v2
79+
uses: actions/checkout@v3
8080

8181
- name: Install Rust toolchain
8282
uses: actions-rs/toolchain@v1
@@ -112,7 +112,7 @@ jobs:
112112

113113
steps:
114114
- name: Checkout repository
115-
uses: actions/checkout@v2
115+
uses: actions/checkout@v3
116116

117117
- name: Install Nodejs
118118
uses: actions/setup-node@v1

.github/workflows/metrics.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121

2222
- name: Install Rust toolchain
2323
uses: actions-rs/toolchain@v1

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919
with:
2020
fetch-depth: 0
2121

.github/workflows/release.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
steps:
5353
- name: Checkout repository
54-
uses: actions/checkout@v2
54+
uses: actions/checkout@v3
5555
with:
5656
fetch-depth: ${{ env.FETCH_DEPTH }}
5757

@@ -152,7 +152,7 @@ jobs:
152152
run: apk add --no-cache git clang lld musl-dev nodejs npm
153153

154154
- name: Checkout repository
155-
uses: actions/checkout@v2
155+
uses: actions/checkout@v3
156156
with:
157157
fetch-depth: ${{ env.FETCH_DEPTH }}
158158

@@ -197,7 +197,7 @@ jobs:
197197
- run: 'echo "TAG: $TAG"'
198198

199199
- name: Checkout repository
200-
uses: actions/checkout@v2
200+
uses: actions/checkout@v3
201201
with:
202202
fetch-depth: ${{ env.FETCH_DEPTH }}
203203

.github/workflows/rustdoc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121

2222
- name: Install Rust toolchain
2323
uses: actions-rs/toolchain@v1

0 commit comments

Comments
 (0)