File tree 3 files changed +5
-2
lines changed
3 files changed +5
-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..."
Original file line number Diff line number Diff line change @@ -9,4 +9,5 @@ require (
9
9
github.com/davecgh/go-spew v1.1.1 // indirect
10
10
github.com/libsv/go-bt v0.0.3
11
11
github.com/stretchr/testify v1.6.1
12
+ golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392 // indirect
12
13
)
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
17
17
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 /go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w =
18
18
golang.org/x/crypto v0.0.0-20201117144127-c1f2f97bffc9 h1:phUcVbl53swtrUN8kQEXFhUxPlIlWyBfKmidCu7P95o =
19
19
golang.org/x/crypto v0.0.0-20201117144127-c1f2f97bffc9 /go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I =
20
+ golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392 h1:xYJJ3S178yv++9zXV/hnr29plCAGO9vAFG9dorqaFQc =
21
+ golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392 /go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I =
20
22
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 /go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg =
21
23
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a /go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY =
22
24
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
You can’t perform that action at this time.
0 commit comments