Update setup-go action, with caching (#2054)
parent
a516775a81
commit
dc98d13c2a
|
|
@ -15,17 +15,17 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v3.3.0
|
||||||
|
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v3.5.0
|
uses: actions/setup-go@v4.0.0
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.19
|
||||||
|
|
||||||
- name: Setup GO env
|
- name: Setup GO env
|
||||||
run: go env -w CGO_ENABLED=0
|
run: go env -w CGO_ENABLED=0
|
||||||
|
|
||||||
- name: Checkout Code
|
|
||||||
uses: actions/checkout@v3.3.0
|
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: make test
|
run: make test
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue