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 <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2021-01-27 14:47:01 +01:00
parent c28533c7a4
commit 6c69cd55fb
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

@ -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