Remove comment fields from the dic schema to conform to metaschema check #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and Validate JSON Schemas | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- repo-cleanup-refactor | |
jobs: | |
lint-and-validate-schemas: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Use jsonschema Action | |
uses: sourcemeta/jsonschema@v5.0.0 | |
- name: Validate JSON Schemas | |
run: jsonschema lint ukaea-schema/**/*.schema.json | |
- name: Verify JSON Schemas | |
run: jsonschema metaschema ukaea-schema/**/*.schema.json | |
- name: Report success | |
if: success() | |
run: echo "All JSON schemas have been successfully validated and linted!" |