From 6c69cd55fbe43f3893ba53bf401bdf7a55b23ac0 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 27 Jan 2021 14:47:01 +0100 Subject: [PATCH] Makefile: run "go mod tidy" when vendoring `make vendor` did not do a `go mod tidy` after vendoring, whereas CI does this as part of the vendor validation, causing CI to fail if `make vendor` was used to update vendoring, without doing a `go mod tidy` as well. Signed-off-by: Sebastiaan van Stijn --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index bd500d95b..399c7db3a 100644 --- a/Makefile +++ b/Makefile @@ -376,6 +376,7 @@ root-coverage: ## generate coverage profiles for unit tests that require root vendor: @echo "$(WHALE) $@" + @go mod tidy @go mod vendor help: ## this help