Loading .gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -33,8 +33,10 @@ check_json_format: find . -type f -name "*.json" -print0 | while IFS= read -r -d '' file; do if ! diff -q <(jq . "$file") "$file" >/dev/null 2>&1; then echo "❌ Unformatted JSON: $file" INVALID_JSON_FILES=true fi done - if [ "$INVALID_JSON_FILES" = true ]; then echo "Some JSON files are not formatted. Please run jq to fix them."; process_asn: image: "forge.etsi.org:5050/li/schemas-definitions/asn1test:latest" Loading Loading
.gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -33,8 +33,10 @@ check_json_format: find . -type f -name "*.json" -print0 | while IFS= read -r -d '' file; do if ! diff -q <(jq . "$file") "$file" >/dev/null 2>&1; then echo "❌ Unformatted JSON: $file" INVALID_JSON_FILES=true fi done - if [ "$INVALID_JSON_FILES" = true ]; then echo "Some JSON files are not formatted. Please run jq to fix them."; process_asn: image: "forge.etsi.org:5050/li/schemas-definitions/asn1test:latest" Loading