ci: fix checkout version (#33164)

* ci: fix checkout version

* chore: add more
This commit is contained in:
xrkffgg 2021-12-05 11:37:54 +08:00 committed by GitHub
parent 830d3a50c1
commit 90f062e339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 23 deletions

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: cache package-lock.json
uses: actions/cache@v2
@ -47,7 +47,7 @@ jobs:
needs: setup
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2

View File

@ -10,7 +10,7 @@ jobs:
if: github.event.issue.pull_request != '' && (contains(github.event.comment.body, '/rebase') || contains(github.event.comment.body, '\rebase'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Automatic Rebase

View File

@ -10,7 +10,7 @@ jobs:
if: github.event.ref_type == 'tag' && (contains(github.event.ref, '-') == false)
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: cache package-lock.json
uses: actions/cache@v2
@ -43,7 +43,7 @@ jobs:
needs: setup
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2

View File

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: cache package-lock.json
uses: actions/cache@v2
@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -100,7 +100,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -122,7 +122,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -145,7 +145,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -171,7 +171,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -194,7 +194,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -225,7 +225,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -256,7 +256,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -296,7 +296,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -324,7 +324,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -352,7 +352,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -388,7 +388,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -424,7 +424,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -460,7 +460,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: restore cache from package-lock.json
uses: actions/cache@v2

View File

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: cache package-lock.json
uses: actions/cache@v2