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