change validator #161
This file contains hidden or 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 json files | |
| # files need to have extension .json | |
| on: | |
| push: | |
| branches-ignore: [ 'gh-pages' ] | |
| jobs: | |
| validate-json: | |
| runs-on: ubuntu-latest | |
| name: validate json | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 4 | |
| - name: Validate dataset json files | |
| uses: RaaLabs/validate-json@v0.0.7 | |
| with: | |
| directory: 'metadata/Dataset' | |
| - name: Validate OtherResource json files | |
| uses: RaaLabs/validate-json@v0.0.7 | |
| with: | |
| directory: 'metadata/OtherResources' | |
| - name: Validate ECRR json files | |
| uses: RaaLabs/validate-json@v0.0.7 | |
| with: | |
| directory: 'metadata/tools/ECRR_Resources' | |
| - name: Validate ECRR new json files | |
| uses: RaaLabs/validate-json@v0.0.7 | |
| with: | |
| directory: 'metadata/tools/ECRR_NewTestDescriptions' |