diff --git a/make/go.mk b/make/go.mk index af60344d..ccfd807a 100644 --- a/make/go.mk +++ b/make/go.mk @@ -15,4 +15,16 @@ build: $(shell find . -path ./vendor -prune -o -name '*.go' -print) .PHONY: vendor vendor: - $(Q)go mod vendor \ No newline at end of file + $(Q)go mod vendor + +.PHONY: verify-dependencies +## Runs commands to verify after the updated dependecies of toolchain-common/API(go mod replace), if the repo needs any changes to be made +verify-dependencies: tidy vet build test lint-go-code + +.PHONY: tidy +tidy: + go mod tidy + +.PHONY: vet +vet: + go vet ./... \ No newline at end of file