Skip to content

Commit

Permalink
chore: add govulncheck to check for vulnerabilities in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmfernandes committed Sep 26, 2024
1 parent 0e45b0b commit 0b4967e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ run/example:

## lint: run Go linters (golangci-lint)
.PHONY: lint
lint: ## Runs lint
lint:
@echo 'Linting code...'
golangci-lint run

Expand All @@ -35,6 +35,12 @@ audit: vendor lint
@echo 'Running tests...'
go test -v -race -vet=off

## vulncheck: check for known vulnerabilities
.PHONY: vulncheck
vulncheck:
@echo 'Checking for vulnerabilities...'
govulncheck -show verbose ./...

## vendor: tidy and vendor dependencies
.PHONY: vendor
vendor:
Expand Down

0 comments on commit 0b4967e

Please sign in to comment.