Skip to content

Commit

Permalink
Merge pull request #166 from atc0005/update-makefile-lintinstall-recipe
Browse files Browse the repository at this point in the history
Update `lintinstall` Makefile recipe
  • Loading branch information
atc0005 committed Jun 20, 2022
2 parents f055410 + 39d9b76 commit 9686173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -40,8 +40,8 @@ lintinstall:

@export PATH="${PATH}:$(go env GOPATH)/bin"

@echo "Explicitly enabling Go modules mode per command"
(cd; GO111MODULE="on" go get honnef.co/go/tools/cmd/staticcheck)
@echo "Installing latest stable staticcheck version via go install command ..."
@go install honnef.co/go/tools/cmd/staticcheck@latest

@echo Installing latest stable golangci-lint version per official installation script ...
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin
Expand Down

0 comments on commit 9686173

Please sign in to comment.