We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a8a907 commit 6a8ffb7Copy full SHA for 6a8ffb7
Makefile
@@ -22,6 +22,9 @@ endif
22
ifeq ($(shell command -v benchstat 2> /dev/null),)
23
go install golang.org/x/perf/cmd/benchstat@latest
24
endif
25
+ifeq ($(shell govulncheck ./... 2> /dev/null),)
26
+ go install golang.org/x/vuln/cmd/govulncheck@latest
27
+endif
28
29
.PHONY: gofmt
30
gofmt: ## Run gofmt.
@@ -47,6 +50,10 @@ staticcheck: ## Run staticcheck.
47
50
gosec: ## Run gosec.
48
51
gosec -exclude-dir=_examples ./...
49
52
53
+.PHONY: govulncheck
54
+govulncheck: ## Run govulncheck.
55
+ govulncheck ./...
56
+
57
.PHONY: test
58
test: ## Run tests.
59
go test -v -race ./...
0 commit comments