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 9da03fc commit 9ddff97Copy full SHA for 9ddff97
Makefile
@@ -94,6 +94,10 @@ bin/golangci-lint: | bin
94
echo "Installing golangci-lint..."
95
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.54.2
96
97
+bin/govulncheck: | bin
98
+ echo "Installing govulncheck..."
99
+ go install golang.org/x/vuln/cmd/[email protected]
100
+
101
mockgen: bin/mockgen
102
./hack/update-gomock
103
@@ -103,6 +107,10 @@ verify: bin/golangci-lint
107
./hack/verify-all
104
108
echo "Congratulations! All Go source files have been linted."
105
109
110
+.PHONY: govulncheck
111
+govulncheck: bin/govulncheck
112
+ $(GOBIN)/govulncheck ./...
113
106
114
.PHONY: verify-vendor
115
test: verify-vendor
116
verify: verify-vendor
0 commit comments