mirror of
https://github.com/securego/gosec.git
synced 2026-01-15 01:33:41 +08:00
Remove manual test deps
It is not required anymore to install the test dependencies seprately. They are now managed by the go module file. Change-Id: I67bb8ca4619e36477a62b24692b795e16c89397b Signed-off-by: Cosmin Cojocar <ccojocar@google.com>
This commit is contained in:
committed by
Cosmin Cojocar
parent
bb08aa3188
commit
2238079261
7
Makefile
7
Makefile
@@ -26,17 +26,12 @@ LDFLAGS = -ldflags "\
|
||||
default:
|
||||
$(MAKE) build
|
||||
|
||||
install-test-deps:
|
||||
go install github.com/onsi/ginkgo/v2/ginkgo@latest
|
||||
go install golang.org/x/crypto/...@latest
|
||||
go install github.com/lib/pq/...@latest
|
||||
|
||||
install-govulncheck:
|
||||
@if [ $(GO_MINOR_VERSION) -gt $(GOVULN_MIN_VERSION) ]; then \
|
||||
go install golang.org/x/vuln/cmd/govulncheck@latest; \
|
||||
fi
|
||||
|
||||
test: install-test-deps build-race fmt vet sec govulncheck
|
||||
test: build-race fmt vet sec govulncheck
|
||||
$(GINKGO) -v --fail-fast
|
||||
|
||||
fmt:
|
||||
|
||||
Reference in New Issue
Block a user