File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ install-go: ## Install the application (Using Native Go)
42
42
43
43
lint: ## Run the golangci - lint application (install if not found )
44
44
@#Travis (has sudo )
45
- @if [ "$(shell command -v golangci-lint)" = "" ] && [ $(TRAVIS ) ]; then curl - sSfL https ://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.32.2 && sudo cp ./bin/golangci-lint $(go env GOPATH)/bin/; fi;
45
+ @if [ "$(shell command -v golangci-lint)" = "" ] && [ $(TRAVIS ) ]; then curl - sSfL https ://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.33.0 && sudo cp ./bin/golangci-lint $(go env GOPATH)/bin/; fi;
46
46
@#AWS CodePipeline
47
- @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.32.2 ; fi;
47
+ @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.33.0 ; fi;
48
48
@#Brew - MacOS
49
49
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(shell command -v brew)" != "" ]; then brew install golangci - lint ; fi ;
50
50
@echo "running golangci-lint..."
You can’t perform that action at this time.
0 commit comments