From b7d2d0e97d782dc8aefaddfaaec81a6d39538643 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Fri, 14 Jan 2022 21:02:34 +0100 Subject: [PATCH] Added v vet to CI --- .woodpecker/.lint.yml | 7 +++++++ Makefile | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/.woodpecker/.lint.yml b/.woodpecker/.lint.yml index 380b3d40..1ccd0777 100644 --- a/.woodpecker/.lint.yml +++ b/.woodpecker/.lint.yml @@ -6,5 +6,12 @@ platform: linux/amd64 pipeline: lint: image: 'chewingbever/vlang:latest' + group: lint commands: - make lint + + vet: + image: 'chewingbever/vlang:latest' + group: lint + commands: + - make vet diff --git a/Makefile b/Makefile index bf77b629..103aca60 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,10 @@ lint: fmt: $(V) fmt -w $(SRC_DIR) +.PHONY: vet +vet: + $(V) vet -W $(SRC_DIR) + # Pulls & builds my personal build of the v compiler, required for this project to function .PHONY: customv customv: