add vet command and step to pipeline

This commit is contained in:
Hector
2023-06-22 19:15:02 +01:00
parent 8d457da2b9
commit 8f7966cab3
2 changed files with 11 additions and 0 deletions

View File

@ -20,6 +20,11 @@ update:
test: download
go test ./... -v -race
# Look for "suspicious constructs" in source code
.PHONY: vet
vet: download
go vet ./...
# Format code
.PHONY: fmt
fmt: download