Fixing build workflow

Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
Dave Shanley
2023-07-16 11:37:16 -04:00
committed by quobix
parent 868514a20a
commit 13c3ae91b1

View File

@@ -16,7 +16,7 @@ jobs:
- name: Set up Go 1.x - name: Set up Go 1.x
uses: actions/setup-go@v3 uses: actions/setup-go@v3
with: with:
go-version: 1.20 go-version: 1.19
id: go id: go
- name: Checkout code - name: Checkout code
@@ -25,6 +25,10 @@ jobs:
- name: Get dependencies - name: Get dependencies
run: | run: |
go get -v -t -d ./... go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Test - name: Test
run: go test ./... run: go test ./...
- name: Coverage - name: Coverage