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