From 191f5a797bde67aa509c9fcb3853b96528b01afd Mon Sep 17 00:00:00 2001 From: Todd Short Date: Mon, 1 Apr 2024 10:38:31 -0400 Subject: [PATCH] Add tidy to the verify target (#320) As part of verifying, we should really be checking the status of `go mod tidy`. This can be done by adding the `tidy` target as a dependency of the `verify` target. This will be ussed during github workflows/CI to make sure everything is "tidied". --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 31ff7bd13..99b97e509 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,7 @@ TEST_PKGS:=$(shell go list ./...) test-unit: ## Run the unit tests $(Q)go test -count=1 -short ${TEST_PKGS} -verify: manifests generate format +verify: manifests generate format tidy git diff --exit-code ################