File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,10 @@ custom-linter-build: #EXHELP Build custom linter
149149lint-custom : custom-linter-build # EXHELP Call custom linter for the project
150150 go vet -tags=$(GO_BUILD_TAGS ) -vettool=./bin/custom-linter ./...
151151
152+ .PHONY : api-lint-diff
153+ api-lint-diff : # HELP Validate API changes using kube-api-linter with diff-aware analysis
154+ bash hack/api-lint-diff/run.sh
155+
152156.PHONY : k8s-pin
153157k8s-pin : # EXHELP Pin k8s staging modules based on k8s.io/kubernetes version (in go.mod or from K8S_IO_K8S_VERSION env var) and run go mod tidy.
154158 K8S_IO_K8S_VERSION=' $(K8S_IO_K8S_VERSION)' go run hack/tools/k8smaintainer/main.go
@@ -198,7 +202,7 @@ generate: $(CONTROLLER_GEN) #EXHELP Generate code containing DeepCopy, DeepCopyI
198202 $(CONTROLLER_GEN ) --load-build-tags=$(GO_BUILD_TAGS ) object:headerFile=" hack/boilerplate.go.txt" paths=" ./..."
199203
200204.PHONY : verify
201- verify : k8s-pin kind-verify-versions fmt generate manifests update-tls-profiles crd-ref-docs verify-bingo # HELP Verify all generated code is up-to-date. Runs k8s-pin instead of just tidy.
205+ verify : k8s-pin kind-verify-versions fmt generate manifests update-tls-profiles crd-ref-docs verify-bingo api-lint-diff # HELP Verify all generated code is up-to-date. Runs k8s-pin instead of just tidy.
202206 git diff --exit-code
203207
204208.PHONY : verify-bingo
You can’t perform that action at this time.
0 commit comments