Skip to content

Commit 5cdfb23

Browse files
committed
Updated linter version
1 parent bd9c6b8 commit 5cdfb23

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.make/go.mk

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ install-go: ## Install the application (Using Native Go)
6767
lint: ## Run the golangci-lint application (install if not found)
6868
@echo "installing golangci-lint..."
6969
@#Travis (has sudo)
70-
@if [ "$(shell command -v golangci-lint)" = "" ] && [ $(TRAVIS) ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.54.0 && sudo cp ./bin/golangci-lint $(go env GOPATH)/bin/; fi;
70+
@if [ "$(shell command -v golangci-lint)" = "" ] && [ $(TRAVIS) ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.54.1 && sudo cp ./bin/golangci-lint $(go env GOPATH)/bin/; fi;
7171
@#AWS CodePipeline
72-
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(CODEBUILD_BUILD_ID)" != "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.0; fi;
72+
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(CODEBUILD_BUILD_ID)" != "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.1; fi;
7373
@#GitHub Actions
74-
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(GITHUB_WORKFLOW)" != "" ]; then curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b $(go env GOPATH)/bin v1.54.0; fi;
74+
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(GITHUB_WORKFLOW)" != "" ]; then curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b $(go env GOPATH)/bin v1.54.1; fi;
7575
@#Brew - MacOS
7676
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(shell command -v brew)" != "" ]; then brew install golangci-lint; fi;
7777
@#MacOS Vanilla
78-
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(shell command -v brew)" != "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- v1.54.0; fi;
78+
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(shell command -v brew)" != "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- v1.54.1; fi;
7979
@echo "running golangci-lint..."
8080
@golangci-lint run --verbose
8181

0 commit comments

Comments
 (0)