ci: use go install

This commit is contained in:
Jens Langhammer 2022-04-04 09:21:33 +00:00
parent 9252a1f9d3
commit d690296120
1 changed files with 3 additions and 3 deletions

View File

@ -39,9 +39,9 @@ jobs:
go-version: "^1.17" go-version: "^1.17"
- name: Get dependencies - name: Get dependencies
run: | run: |
go get github.com/axw/gocov/gocov go install github.com/axw/gocov/gocov
go get github.com/AlekSi/gocov-xml go install github.com/AlekSi/gocov-xml
go get github.com/jstemmer/go-junit-report go install github.com/jstemmer/go-junit-report
- name: Go unittests - name: Go unittests
run: | run: |
go test -timeout 0 -v -race -coverprofile=coverage.out -covermode=atomic -cover ./... | go-junit-report > junit.xml go test -timeout 0 -v -race -coverprofile=coverage.out -covermode=atomic -cover ./... | go-junit-report > junit.xml