diff options
author | Steve Moyer <smoyer1@selesy.com> | 2022-09-08 17:20:51 -0400 |
---|---|---|
committer | Steve Moyer <smoyer1@selesy.com> | 2022-09-08 17:20:51 -0400 |
commit | ec7395589d66b0014506a7ff2908dc206ec18f89 (patch) | |
tree | c8ae2cd5f9cc63a3d1f12421d2dcf48a771d1dce /Makefile | |
parent | 1dcdee49a84b9397ba12ac7dc8002b95f7fd26db (diff) | |
download | git-bug-ec7395589d66b0014506a7ff2908dc206ec18f89.tar.gz |
feat: add recipes for security analysis
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -31,6 +31,16 @@ releases: go generate gox -ldflags "$(LDFLAGS)" -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" +secure: secure-practices secure-vulnerabilities + +secure-practices: + go install github.com/praetorian-inc/gokart + gokart scan + +secure-vulnerabilities: + go install golang.org/x/vuln/cmd/govulncheck@latest + govulncheck ./... + test: go test -v -bench=. ./... @@ -59,3 +69,4 @@ clean-remote-identities: git ls-remote origin "refs/identities/*" | cut -f 2 | $(XARGS) git push origin -d .PHONY: build install releases test pack-webui debug-webui clean-local-bugs clean-remote-bugs +.PHONY: secure secure-vulnerabilities secure-practice |