Skip to content

Commit dd83049

Browse files
committed
chore: update workflows
1 parent a9bcdc4 commit dd83049

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/test.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: checkout
10-
uses: actions/checkout@master
10+
uses: actions/checkout@v2
1111

1212
- name: cache package-lock.json
1313
uses: actions/cache@v1
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
steps:
4242
- name: checkout
43-
uses: actions/checkout@master
43+
uses: actions/checkout@v2
4444

4545
- name: restore cache from package-lock.json
4646
uses: actions/cache@v1
@@ -74,7 +74,7 @@ jobs:
7474
runs-on: ubuntu-latest
7575
steps:
7676
- name: checkout
77-
uses: actions/checkout@master
77+
uses: actions/checkout@v2
7878

7979
- name: restore cache from package-lock.json
8080
uses: actions/cache@v1
@@ -96,12 +96,12 @@ jobs:
9696
runs-on: ubuntu-latest
9797
steps:
9898
- name: checkout
99-
uses: actions/checkout@master
99+
uses: actions/checkout@v2
100100
with:
101101
token: ${{ secrets.ACCESS_TOKEN }}
102102

103103
- name: Checkout submodules
104-
uses: actions/checkout@master
104+
uses: actions/checkout@v2
105105
with:
106106
repository: tangjinzhou/antdv-demo
107107
token: ${{ secrets.ACCESS_TOKEN }}
@@ -122,4 +122,3 @@ jobs:
122122
- name: test
123123
run: npm test
124124
needs: setup
125-

0 commit comments

Comments
 (0)