Merge pull request #4294 from carlaKC/actions-updatecheckout
github: update checkout action to v2
This commit is contained in:
commit
bdb6a3cc7b
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: git checkout
|
- name: git checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: go cache
|
- name: go cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
@ -70,7 +70,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: git checkout
|
- name: git checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: go cache
|
- name: go cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
@ -99,7 +99,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: git checkout
|
- name: git checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Fetch all history for linter
|
||||||
|
run: git fetch --prune --unshallow
|
||||||
|
|
||||||
- name: go cache
|
- name: go cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
@ -134,7 +137,7 @@ jobs:
|
|||||||
- solaris-amd64
|
- solaris-amd64
|
||||||
steps:
|
steps:
|
||||||
- name: git checkout
|
- name: git checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: go cache
|
- name: go cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
@ -170,7 +173,7 @@ jobs:
|
|||||||
- travis-race
|
- travis-race
|
||||||
steps:
|
steps:
|
||||||
- name: git checkout
|
- name: git checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: go cache
|
- name: go cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
@ -225,7 +228,7 @@ jobs:
|
|||||||
- neutrino
|
- neutrino
|
||||||
steps:
|
steps:
|
||||||
- name: git checkout
|
- name: git checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: go cache
|
- name: go cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user