Skip to content

Commit

Permalink
Prefer go install
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed May 25, 2022
1 parent a9a0f28 commit d80edeb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hack/run-lint.sh
Expand Up @@ -22,8 +22,7 @@ gopath="$(go env GOPATH)"

if ! [[ -x "$gopath/bin/golangci-lint" ]]; then
echo >&2 'Installing golangci-lint'
curl --silent --fail --location \
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$gopath/bin" v1.44.0
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.44.0
fi

# configured by .golangci.yml
Expand Down

0 comments on commit d80edeb

Please sign in to comment.