From 900f3a7faaa5d65b4bcbcc55af2a1277721ee36a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 7 Sep 2023 12:07:20 +0200 Subject: [PATCH] Add `make vet` target This runs `go vet` as well as `govulncheck`. These may install dependencies other than installed via `make with-deps`. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 677b1373..64e6fd3d 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,10 @@ with-deps: go install github.com/gohugoio/hugo@v0.101.0 $(MAKE) application +vet: + go vet ./... + go run golang.org/x/vuln/cmd/govulncheck@latest ./... + application: webapp flamenco-manager flamenco-worker flamenco-manager: