summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTero Marttila <[email protected]>2022-06-24 11:50:43 +0300
committerTero Marttila <[email protected]>2022-06-24 11:50:43 +0300
commit18a763eee93587090f9353085e9269bb6958fc41 (patch)
tree58e3cdbae4cf69ed0e9172d660534e0fd16388a5
parent703c5a8fdf4069b53cc892f8ab53a94521e1b89b (diff)
github workflows: use go mod
-rw-r--r--.github/workflows/build.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 29bd97d..47c0cb3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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