Skip to content

Commit 191f5a7

Browse files
authored
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".
1 parent 4454fc8 commit 191f5a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ TEST_PKGS:=$(shell go list ./...)
8282
test-unit: ## Run the unit tests
8383
$(Q)go test -count=1 -short ${TEST_PKGS}
8484

85-
verify: manifests generate format
85+
verify: manifests generate format tidy
8686
git diff --exit-code
8787

8888
################

0 commit comments

Comments
 (0)