build: fix loading golangci-lint
This commit is contained in:
parent
4372cf72f2
commit
6d7dee6175
|
@ -17,7 +17,7 @@ cache:
|
||||||
- "$GOPATH/pkg/mod"
|
- "$GOPATH/pkg/mod"
|
||||||
- "$GOPATH/bin"
|
- "$GOPATH/bin"
|
||||||
|
|
||||||
install: "(cd $HOME && go get -v github.com/golangci/golangci-lint/cmd/golangci-lint@v1.16.0)"
|
install: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -v -coverprofile=coverage.txt ./...
|
- go test -v -coverprofile=coverage.txt ./...
|
||||||
|
|
Loading…
Reference in New Issue