Add Portland HODL #192
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: JSON check | |
on: | |
push: | |
paths: | |
- "**.json" | |
pull_request: | |
types: [opened, review_requested, synchronize] | |
jobs: | |
json_validator: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Check for duplicates | |
run : | | |
sh dupes.sh | |
- name: Check JSON syntax | |
run: | | |
if ! jq empty pools-v2.json; then | |
echo "JSON syntax check failed" | |
exit 1 | |
fi |