File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,15 +67,15 @@ install-go: ## Install the application (Using Native Go)
67
67
lint : # # Run the golangci-lint application (install if not found)
68
68
@echo " installing golangci-lint..."
69
69
@# 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.50.1 && 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.51.2 && sudo cp ./bin/golangci-lint $(go env GOPATH ) /bin/; fi ;
71
71
@# 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.50.1 ; 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.51.2 ; fi ;
73
73
@# 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.50.1 ; 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.51.2 ; fi ;
75
75
@# Brew - MacOS
76
76
@if [ " $( shell command -v golangci-lint) " = " " ] && [ " $( shell command -v brew) " != " " ]; then brew install golangci-lint; fi ;
77
77
@# 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.50.1 ; 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.51.2 ; fi ;
79
79
@echo " running golangci-lint..."
80
80
@golangci-lint run --verbose
81
81
You can’t perform that action at this time.
0 commit comments