This action validates JSON and YAML files using JSON Schema.
- name: Validate
uses: allegro-actions/validate-using-json-schema@v1
with:
schema: schema.json
target: target.jsonschema: path or URL pointing to a JSON Schema (only Draft-06 and Draft-07 are currently supported)target: path/paths of files to be validated, multiple files can be validated at once by passing a multi-line stringstrict: (Optional) set totrueto enable strict validation