From 145921f2071660af7d8e1ea2ea015949a0b03c59 Mon Sep 17 00:00:00 2001 From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Date: Tue, 8 Oct 2019 12:20:37 +0100 Subject: [PATCH] Pin golangci-lint version to non-broken one (#809) --- scripts/find-lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/find-lint.sh b/scripts/find-lint.sh index 25b311f9..ca991b62 100755 --- a/scripts/find-lint.sh +++ b/scripts/find-lint.sh @@ -27,7 +27,7 @@ echo "Installing golangci-lint..." # TODO: Once go 1.13 is out, use go get's -mod=readonly option # https://github.com/golang/go/issues/30667 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..." golangci-lint run $args