diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 274670b86de..89ec10c0823 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: touch -t ${touchtime} "${filename}" ls -la --time-style=full-iso "${filename}" - name: Generate - run: make generate genjsonschema + run: make generate - name: Run linters run: make toolchain-check license-check lint vanity-import-check - name: Build diff --git a/Makefile b/Makefile index 77a01cf4f24..b1e9301eae5 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ TIMEOUT = 60 .DEFAULT_GOAL := precommit .PHONY: precommit ci -precommit: generate toolchain-check license-check misspell go-mod-tidy golangci-lint-fix test-default +precommit: generate jsonschemagen toolchain-check license-check misspell go-mod-tidy golangci-lint-fix test-default ci: generate toolchain-check license-check lint vanity-import-check build test-default check-clean-work-tree test-coverage # Tools @@ -343,7 +343,6 @@ genjsonschema: genjsonschema-cleanup $(GOJSONSCHEMA) sed -f ./config/jsonschema_patch.sed ${GENERATED_CONFIG} > ${GENERATED_CONFIG}.tmp mv ${GENERATED_CONFIG}.tmp ${GENERATED_CONFIG} $(MAKE) genjsonschema-cleanup - $(MAKE) lint .PHONY: codespell codespell: $(CODESPELL)