Skip to content

Commit

Permalink
Add tidy to the verify target
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 Mar 29, 2024
1 parent 4454fc8 commit 6278534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
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 6278534

Please sign in to comment.