Skip to content

Commit

Permalink
Refactor GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
knorrium committed May 10, 2024
1 parent fb21876 commit 62ee47b
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/validate-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@ jobs:
json_validator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
with:
pattern: "\\.json$"
- 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

0 comments on commit 62ee47b

Please sign in to comment.