Skip to content

Commit 6c69cd5

Browse files
committed
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 <[email protected]>
1 parent c28533c commit 6c69cd5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ root-coverage: ## generate coverage profiles for unit tests that require root
376376

377377
vendor:
378378
@echo "$(WHALE) $@"
379+
@go mod tidy
379380
@go mod vendor
380381

381382
help: ## this help

0 commit comments

Comments
 (0)