Pin golangci-lint version to non-broken one (#809)
parent
e959927d0a
commit
145921f207
|
@ -27,7 +27,7 @@ echo "Installing golangci-lint..."
|
||||||
# TODO: Once go 1.13 is out, use go get's -mod=readonly option
|
# TODO: Once go 1.13 is out, use go get's -mod=readonly option
|
||||||
# https://github.com/golang/go/issues/30667
|
# https://github.com/golang/go/issues/30667
|
||||||
cp go.mod go.mod.bak && cp go.sum go.sum.bak
|
cp go.mod go.mod.bak && cp go.sum go.sum.bak
|
||||||
go get github.com/golangci/golangci-lint/cmd/golangci-lint
|
go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.19.1
|
||||||
|
|
||||||
echo "Looking for lint..."
|
echo "Looking for lint..."
|
||||||
golangci-lint run $args
|
golangci-lint run $args
|
||||||
|
|
Loading…
Reference in New Issue