Skip to content

Commit

Permalink
Fix golangci-lint install on older versions of Go
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Mitchell <[email protected]>
  • Loading branch information
sudo-bmitch committed Sep 3, 2023
1 parent 3131ecd commit 061cba3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ install.tools: $(TOOLS:%=.install.%)
.install.lint:
case "$$(go env GOVERSION)" in \
go1.18.*) go install github.com/golangci/golangci-lint/cmd/[email protected];; \
go1.19.*) go install github.com/golangci/golangci-lint/cmd/[email protected];; \
*) go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest;; \
esac

Expand Down

0 comments on commit 061cba3

Please sign in to comment.