Merge pull request #185 from lmcintyre/master #365
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: Validate ex JSON definitions | |
# This workflow is triggered on pushes to the repository. | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: validate-json | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install jsonlint | |
run: sudo npm install jsonlint -g | |
- name: Validate schemas | |
run: set -e; for f in $(find SaintCoinach/Definitions/ -name *.json -print); do echo -n "$f - "; jsonlint $f -q; echo "OK!"; done |