Skip to content

Commit cdac32a

Browse files
zhaogeliuxy0551
authored andcommitted
feat: update cache actions/checkout's version
1 parent 6d0fc4d commit cdac32a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919

2020
- name: Cache yarn.lock
21-
uses: actions/cache@v2
21+
uses: actions/cache@v4
2222
with:
2323
path: package-temp-dir
2424
key: lock-${{ github.sha }}
@@ -34,7 +34,7 @@ jobs:
3434
cp yarn.lock package-temp-dir
3535
- name: Cache node_modules
3636
id: node_modules_cache_id
37-
uses: actions/cache@v2
37+
uses: actions/cache@v4
3838
with:
3939
path: node_modules
4040
key: node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -50,13 +50,13 @@ jobs:
5050
- uses: actions/checkout@v2
5151

5252
- name: Restore cache from yarn.lock
53-
uses: actions/cache@v2
53+
uses: actions/cache@v4
5454
with:
5555
path: package-temp-dir
5656
key: lock-${{ github.sha }}
5757

5858
- name: Restore cache from node_modules
59-
uses: actions/cache@v2
59+
uses: actions/cache@v4
6060
with:
6161
path: node_modules
6262
key: node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -71,13 +71,13 @@ jobs:
7171
- uses: actions/checkout@v2
7272

7373
- name: Restore cache from yarn.lock
74-
uses: actions/cache@v2
74+
uses: actions/cache@v4
7575
with:
7676
path: package-temp-dir
7777
key: lock-${{ github.sha }}
7878

7979
- name: Restore cache from node_modules
80-
uses: actions/cache@v2
80+
uses: actions/cache@v4
8181
with:
8282
path: node_modules
8383
key: node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -92,13 +92,13 @@ jobs:
9292
- uses: actions/checkout@v2
9393

9494
- name: Restore cache from yarn.lock
95-
uses: actions/cache@v2
95+
uses: actions/cache@v4
9696
with:
9797
path: package-temp-dir
9898
key: lock-${{ github.sha }}
9999

100100
- name: Restore cache from node_modules
101-
uses: actions/cache@v2
101+
uses: actions/cache@v4
102102
with:
103103
path: node_modules
104104
key: node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -118,13 +118,13 @@ jobs:
118118
- uses: actions/checkout@v2
119119

120120
- name: Restore cache from yarn.lock
121-
uses: actions/cache@v2
121+
uses: actions/cache@v4
122122
with:
123123
path: package-temp-dir
124124
key: lock-${{ github.sha }}
125125

126126
- name: Restore cache from node_modules
127-
uses: actions/cache@v2
127+
uses: actions/cache@v4
128128
with:
129129
path: node_modules
130130
key: node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}

0 commit comments

Comments
 (0)