Skip to content

Fix workflow branch activation #1

Fix workflow branch activation

Fix workflow branch activation #1

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/[email protected]
- name: Validate JSON Schemas
run: jsonschema lint ukaea-schema/**/*.json
- name: Verify JSON Schemas
run: jsonschema metaschema ukaea-schema/**/*.json
- name: Report success
if: success()
run: echo "All JSON schemas have been successfully validated and linted!"