Skip to content

Commit f0c68ad

Browse files
committed
chore: update GitHub Actions to use checkout@v4
Signed-off-by: Yukai Huang <[email protected]>
1 parent f00df50 commit f0c68ad

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ jobs:
1313
node-version: [14.x, 16.x]
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717

1818
# from https://stackoverflow.com/a/69649733
1919
- name: Reconfigure git to use HTTP authentication
2020
run: >
2121
git config --global url."https://github.com/".insteadOf
2222
2323
24-
- uses: actions/cache@v2
24+
- uses: actions/cache@v4
2525
with:
2626
path: ~/.npm
2727
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2828
restore-keys: |
2929
${{ runner.os }}-node-
3030
31-
- uses: actions/setup-node@v2
31+
- uses: actions/setup-node@v4
3232
name: Use Node.js ${{ matrix.node-version }}
3333
with:
3434
node-version: ${{ matrix.node-version }}
@@ -43,8 +43,8 @@ jobs:
4343
if: github.ref == 'refs/heads/master' || github.event.pull_request
4444

4545
steps:
46-
- uses: actions/checkout@v2
47-
- uses: actions/setup-node@v2
46+
- uses: actions/checkout@v4
47+
- uses: actions/setup-node@v4
4848
name: Use Node.js 14
4949
with:
5050
node-version: 14

.github/workflows/check-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
1919

0 commit comments

Comments
 (0)