Skip to content

Commit 466107e

Browse files
authored
Rollup merge of rust-lang#96035 - Gumichocopengin8:feature/update-github-action-version, r=pietroalbini
Update GitHub Actions actions/checkout Version v2 -> v3 Update `actions/checkout@v2` to `actions/checkout@v3` because of Node12 will be out of life after Aril 30, 2022 [[Reference](https://nodejs.org/en/about/releases/)]. `actions/xxxx@v3` use Node16 whose support lasts until April 30, 2024.
2 parents a30dbc2 + 9d319f3 commit 466107e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: disable git crlf conversion
5757
run: git config --global core.autocrlf false
5858
- name: checkout the source code
59-
uses: actions/checkout@v2
59+
uses: actions/checkout@v3
6060
with:
6161
fetch-depth: 2
6262
- name: configure the PR in which the error message will be posted
@@ -454,7 +454,7 @@ jobs:
454454
- name: disable git crlf conversion
455455
run: git config --global core.autocrlf false
456456
- name: checkout the source code
457-
uses: actions/checkout@v2
457+
uses: actions/checkout@v3
458458
with:
459459
fetch-depth: 2
460460
- name: configure the PR in which the error message will be posted
@@ -567,7 +567,7 @@ jobs:
567567
- name: disable git crlf conversion
568568
run: git config --global core.autocrlf false
569569
- name: checkout the source code
570-
uses: actions/checkout@v2
570+
uses: actions/checkout@v3
571571
with:
572572
fetch-depth: 2
573573
- name: configure the PR in which the error message will be posted
@@ -670,7 +670,7 @@ jobs:
670670
if: "github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'rust-lang-ci/rust'"
671671
steps:
672672
- name: checkout the source code
673-
uses: actions/checkout@v2
673+
uses: actions/checkout@v3
674674
with:
675675
fetch-depth: 2
676676
- name: publish toolstate

src/ci/github-actions/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ x--expand-yaml-anchors--remove:
9999
run: git config --global core.autocrlf false
100100

101101
- name: checkout the source code
102-
uses: actions/checkout@v2
102+
uses: actions/checkout@v3
103103
with:
104104
fetch-depth: 2
105105

@@ -703,7 +703,7 @@ jobs:
703703
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'rust-lang-ci/rust'
704704
steps:
705705
- name: checkout the source code
706-
uses: actions/checkout@v2
706+
uses: actions/checkout@v3
707707
with:
708708
fetch-depth: 2
709709

0 commit comments

Comments
 (0)