From e9b01867827aac29f11b376debaf2209e8e7c9b4 Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Wed, 22 Jun 2022 12:25:57 +0200 Subject: mk: add lint target Run go vet only for now. More linters can be added later. Run linters in the CI pipeline. Signed-off-by: Moritz Poldrack Acked-by: Robin Jarry --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1b32a6b1..129adaaa 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,10 @@ checkfmt: exit 1; \ fi +.PHONY: lint +lint: + $(GO) vet ./... + .PHONY: tests tests: $(GO) test $(GOFLAGS) -v ./... -- cgit