Skip to content

Commit

Permalink
Add tidy to the verify target (#320)
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
tmshort committed Apr 1, 2024
1 parent 4454fc8 commit 191f5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -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

################
Expand Down

0 comments on commit 191f5a7

Please sign in to comment.