Skip to content

Commit

Permalink
run jsonschemagen with generate
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Nov 21, 2024
1 parent ee8f2b0 commit 0aacc33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 0aacc33

Please sign in to comment.