Skip to content

Commit

Permalink
Merge pull request #262 from sheharyaar/main
Browse files Browse the repository at this point in the history
add govulncheck scan to Makefile
  • Loading branch information
kranurag7 committed Oct 18, 2023
2 parents 4507cc0 + f2fc9a4 commit 489d159
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,11 @@ ifeq (, $(shell which gosec))
}
endif
cd $(CURDIR); gosec ./...

.PHONY: scan
scan:
if ! command -v govulncheck > /dev/null; then \
go install golang.org/x/vuln/cmd/govulncheck@latest ;\
fi
cd $(CURDIR);\
govulncheck -test ./... ;

0 comments on commit 489d159

Please sign in to comment.