From ad3f1a60634b41e23b2b1ceee7f88d229064db32 Mon Sep 17 00:00:00 2001 From: hanenMizouni Date: Thu, 12 Dec 2024 09:09:12 +0000 Subject: [PATCH] Use Explicit -mod=vendor to force go vet to use vendor dir Signed-off-by: hanenMizouni --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 34ce8024c..61a8e93d5 100644 --- a/Makefile +++ b/Makefile @@ -131,7 +131,7 @@ fmt: ## Run go fmt against code. .PHONY: vet vet: ## Run go vet against code. - go vet ./... + go vet -mod=vendor ./... .PHONY: format format: gofmt gospace yamlspace yamlfmt