Skip to content

Commit a3ccbeb

Browse files
tmshortci-robot
authored andcommitted
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". Upstream-repository: api Upstream-commit: 191f5a797bde67aa509c9fcb3853b96528b01afd
1 parent 640c887 commit a3ccbeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/api/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)