Skip to content

Commit

Permalink
feat: always check all filer
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasBousselin committed Jan 24, 2025
1 parent c949a47 commit c0af5da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_json_validity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
echo "Checking JSON-LD files"
for file in $(find . -name "*.jsonld"); do
printf "Checking $file .. "
jq empty $file && echo "OK" || { error=1; echo "********* KO invalid JSON *********"; }
jq empty $file && echo "OK" || { error=1; echo "****************** KO invalid JSON ******************"; }
done
echo ""
echo "Checking JSON files"
for file in $(find . -name "*.json"); do
printf "Checking $file .. "
jq empty $file && echo "OK" || { error=1; echo "********* KO invalid JSON *********"; }
jq empty $file && echo "OK" || { error=1; echo "****************** KO invalid JSON ******************"; }
done
exit $error
shell: bash
Expand Down
1 change: 1 addition & 0 deletions vessel/jsonld-contexts/vessel.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@
"unlocs": "https://uri.fiware.org/ns/data-models#unlocs",
"code": "https://uri.fiware.org/ns/data-models#code"
}
}

0 comments on commit c0af5da

Please sign in to comment.