Skip to content

Add JSON Schema validation in CI#138

Merged
TomMiksa merged 1 commit intomasterfrom
json-ci-checks
Nov 19, 2025
Merged

Add JSON Schema validation in CI#138
TomMiksa merged 1 commit intomasterfrom
json-ci-checks

Conversation

@MarekSuchanek
Copy link
Collaborator

No description provided.

@TomMiksa
Copy link
Contributor

@SotosTsepe can you have a look?

Copy link
Collaborator

@SotosTsepe SotosTsepe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, workflow is useful as is.

Please address the following comments in a future PR, as these improvements can be handled later:

  • Both jobs repeat the steps for checkout and install of the json CLI. Merging into a single job with matrix strategy or using needs: avoids duplication.
  • Might be useful to set strict failure with set -e, so that the job does not continue if one validation fails.
  • Add -type f to find to explicitly match only files.
  • Maybe relax the pin for the jsonschema to v12.2 or v12
  • If we are certain that the filenames will not contain any spaces or special characters in the future, then we can leave the logic as is.

@TomMiksa TomMiksa merged commit ffd2fe8 into master Nov 19, 2025
2 checks passed
@TomMiksa TomMiksa deleted the json-ci-checks branch November 19, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants