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 <git@bmitch.net>
  • 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
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/golangci-lint@v1.47.3;; \
go1.19.*) go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.1;; \
*) go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest;; \
esac

Expand Down

0 comments on commit 061cba3

Please sign in to comment.