From afb22f6547c54e9dae33b694cebce42770412d59 Mon Sep 17 00:00:00 2001 From: Thomas BOUSSELIN Date: Fri, 24 Jan 2025 16:18:46 +0100 Subject: [PATCH] feat: check all files --- .github/workflows/check_context_valid_json.yaml | 2 +- jsonld-contexts/sedimark-ai-model-asset.jsonld | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_context_valid_json.yaml b/.github/workflows/check_context_valid_json.yaml index 0454fca..eb8fe9c 100644 --- a/.github/workflows/check_context_valid_json.yaml +++ b/.github/workflows/check_context_valid_json.yaml @@ -26,7 +26,7 @@ jobs: error=0 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 exit $error shell: bash diff --git a/jsonld-contexts/sedimark-ai-model-asset.jsonld b/jsonld-contexts/sedimark-ai-model-asset.jsonld index 71750fc..94c3772 100644 --- a/jsonld-contexts/sedimark-ai-model-asset.jsonld +++ b/jsonld-contexts/sedimark-ai-model-asset.jsonld @@ -18,3 +18,4 @@ "hasArchitecture": "https://sedimark.github.io/ontology#hasArchitecture", "datasetProcessing": "https://sedimark.github.io/ontology#datasetProcessing" +} \ No newline at end of file