github workflows: use go mod

This commit is contained in:
Tero Marttila 2022-06-24 11:50:43 +03:00
parent 703c5a8fdf
commit 18a763eee9
1 changed files with 5 additions and 4 deletions

View File

@ -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