Refactor GHA

This commit is contained in:
Felipe Knorr Kuhn 2024-05-10 09:46:04 -07:00
parent fb21876d78
commit 62ee47b269
No known key found for this signature in database
GPG Key ID: 79619B52BB097C1A

View File

@ -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