Skip to content

Commit a3c571c

Browse files
committed
install gosec
1 parent 6ecaa5e commit a3c571c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ test: lint
1010
go test -v
1111

1212
install-tools:
13-
curl -L https://github.com/securego/gosec/releases/download/v2.18.2/gosec_2.18.2_linux_amd64.tar.gz | \
14-
tar xz -C $(shell go env GOPATH)/bin gosec
13+
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v2.22.2
1514
go install golang.org/x/vuln/cmd/govulncheck@latest
1615
go install honnef.co/go/tools/cmd/staticcheck@latest
1716
go install github.com/caarlos0/svu@latest

0 commit comments

Comments
 (0)