Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgfr committed Jun 26, 2024
1 parent c124f75 commit 78fa7a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fetch-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
- name: Check JSON
run: |
for filename in ./data/*\.json; do
node "$filename" > /dev/null || {
for filename in ./data/*.json; do
jq empty "$filename" > /dev/null || {
echo "Invalid JSON in $filename"
exit 1
}
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/fetch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ jobs:
echo "Data status ${{ steps.metadata.outputs.now }}"
echo "${{ steps.metadata.outputs.data_status }}"
- name: Install jq
run: sudo apt-get update && sudo apt-get install -y jq

- name: Check JSON
run: |
for filename in ./data/*.json; do
Expand Down

0 comments on commit 78fa7a3

Please sign in to comment.