Skip to content

Commit

Permalink
Makefile: downgrade golangci-lint
Browse files Browse the repository at this point in the history
This downgrades golangci-lint to match storj.io/ci's version and changes
the installation method because then if the installation succeeds, it's
guaranteed to work with the installed Go version.

Change-Id: Ifcb5b72c85b0be27d5ed3c23a9d1fa07f2f96d15
  • Loading branch information
amwolff committed Dec 21, 2022
1 parent f165b93 commit 4b74c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ install-dev-dependencies: ## install-dev-dependencies assumes Go and cURL are in
go install honnef.co/go/tools/cmd/staticcheck@latest

# golangci-lint:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH)/bin v1.49.0
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.47.3

# shellcheck (TODO(artur): Windows)
ifneq ($(shell which apt-get),)
Expand Down

0 comments on commit 4b74c3b

Please sign in to comment.