feat: new testing tutorial #2362
Workflow file for this run
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 Community Events Data | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
validate_community_events_data: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: chrisdickinson/setup-yq@latest | |
with: | |
yq-version: 'v4.9.5' | |
- run: | | |
jsonschema -i <(yq eval --tojson -j data/events.yml) data/schemas/events.json | |
echo "community events data is valid!" |