diff options
author | Michael Muré <batolettre@gmail.com> | 2022-09-10 19:51:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-10 19:51:29 +0200 |
commit | 896d7cb1b03d449f399bd835693188c3910866a5 (patch) | |
tree | 9feec74ad7beea92ca4d0d5572f3b980f54319ae /Makefile | |
parent | d0db3b121bb9b0b8ec007c3a12cec015dc7c77d7 (diff) | |
parent | 8bd98454def2e76f30aabcd1ac284bbbf48d8ad5 (diff) | |
download | git-bug-896d7cb1b03d449f399bd835693188c3910866a5.tar.gz |
Merge pull request #868 from MichaelMure/feat-security-checks
feat: check security via `make` recipe and Github check
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-practices |