Shinobi-Validator #5004
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
on: [pull_request, workflow_dispatch] | |
name: Validate JSON schema | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: scheduleonce/[email protected] | |
name: Validating filenames | |
with: | |
path: '!(*.schema.json|README*|.gitignore)' | |
pattern: '^[a-zA-Z0-9._-]*[^\.]$' | |
- name: Validate profile.json schema | |
uses: walbo/[email protected] | |
with: | |
files: ./*/profile.json | |
schema: profile.schema.json | |
schema-version: draft-07 | |
fail-on-missing-schema: true | |
- name: Validate chains.json schema | |
uses: walbo/[email protected] | |
with: | |
files: ./*/chains.json | |
schema: chains.schema.json | |
schema-version: draft-07 | |
fail-on-missing-schema: true | |
- name: Validate services.json schema | |
uses: walbo/[email protected] | |
with: | |
files: ./*/services.json | |
schema: services.schema.json | |
schema-version: draft-07 | |
fail-on-missing-schema: true |