The first exercise of Functions practice could be confusing #6449
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 user groups data | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
validate_user_groups_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/user-groups.yml) data/schemas/user-groups.json | |
echo "User groups data is valid!" |