Skip to content

Commit

Permalink
Merge pull request #1113 from sudo-bmitch/pr-fix-golangci-lint-version
Browse files Browse the repository at this point in the history
Fix golangci-lint install on older versions of Go
  • Loading branch information
vbatts authored Sep 6, 2023
2 parents 3131ecd + 061cba3 commit 24a0e97
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/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 24a0e97

Please sign in to comment.