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 e68fade commit f717caa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@
"@context": [
"https://easy-global-market.github.io/ngsild-api-data-models/aquac/HCMR-PilotSiteUseCase/jsonld-contexts/ifishienciHCMRcompouned.jsonld"
]
}

0 comments on commit f717caa

Please sign in to comment.