Add versioning pinning checker and instructions
This ensures that the version pinning is setup correctly, so all the deps are pointing at the right underlying versions.
This commit is contained in:
6
Makefile
6
Makefile
@@ -51,7 +51,7 @@ release: build goreleaser
|
||||
|
||||
##### =====> Utility targets <===== #####
|
||||
|
||||
.PHONY: clean test list cover format docker
|
||||
.PHONY: clean test list cover format docker check_version
|
||||
mod:
|
||||
@echo "Prune Dependencies..."
|
||||
$Q go mod tidy
|
||||
@@ -119,7 +119,9 @@ format: goimports
|
||||
$Q find . -iname \*.go | grep -v \
|
||||
-e "^$$" $(addprefix -e ,$(IGNORED_PACKAGES)) | xargs $(gobin_tool) -run $(goimports) -w
|
||||
|
||||
|
||||
check_version: mod
|
||||
@echo "Checking kubernetes dependency version pinning"
|
||||
./scripts/validate/check_version.sh
|
||||
|
||||
##### =====> Internals <===== #####
|
||||
|
||||
|
||||
Reference in New Issue
Block a user