github workflows: use go mod
This commit is contained in:
parent
703c5a8fdf
commit
18a763eee9
|
@ -20,12 +20,13 @@ jobs:
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.15
|
go-version: 1.15
|
||||||
|
cache: true
|
||||||
|
|
||||||
- name: Go Get
|
- name: Download dependencies
|
||||||
run: go get -d -u
|
run: go mod download
|
||||||
|
|
||||||
- name: Go Build
|
- name: Build
|
||||||
run: go build -v
|
run: go build -v
|
||||||
|
|
||||||
- name: Go Test
|
- name: Test
|
||||||
run: go test -v
|
run: go test -v
|
||||||
|
|
Loading…
Reference in New Issue