summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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