We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8130145 commit a24eb2aCopy full SHA for a24eb2a
.github/workflows/callable-qa.yml
@@ -154,7 +154,7 @@ jobs:
154
name: JSON files are valid
155
if: "always() && steps.checkout.outcome == 'success'"
156
run: |
157
- ERRORS=$(find * -name '*.json' | parallel -j+3 -i{} -n1 bash -c 'ERR=$(python -mjson.tool {} 2>&1 1> /dev/null) || echo \\n::error file={},line=`echo "${ERR#*: line }" | cut -d" " -f 1`::${ERR%%: line *}')
+ ERRORS=$(find * -name '*.json' | xargs -I{} -n1 -P0 bash -c 'ERR=$(cd / && python -mjson.tool '$(pwd)'/{} 2>&1 1> /dev/null) || echo \\n::error file={},line=`echo "${ERR#*: line }" | cut -d" " -f 1`::${ERR%%: line *}')
158
159
if [[ "" != "$ERRORS" ]]; then echo -e "$ERRORS\n"; exit 1; fi
160
0 commit comments