Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Sep 25, 2021
1 parent 6895171 commit 7a4e9d7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ fi
echo '::endgroup::'

echo '::group:: Running shellcheck (suggestion) ...'
shellcheck -f diff ${FILES} \
shellcheck ${INPUT_SHELLCHECK_FLAGS:-'--external-sources'} -f diff ${FILES}

shellcheck ${INPUT_SHELLCHECK_FLAGS:-'--external-sources'} -f diff ${FILES} \
| reviewdog \
-name="shellcheck (suggestion)" \
-f=diff \
Expand All @@ -52,6 +54,9 @@ shellcheck -f diff ${FILES} \
-filter-mode="${INPUT_FILTER_MODE}" \
-fail-on-error="${INPUT_FAIL_ON_ERROR}" \
${INPUT_REVIEWDOG_FLAGS} || EXIT_CODE_SUGGESTION=$?

echo "EXIT_CODE_SUGGESTION: ${EXIT_CODE_SUGGESTION}"

echo '::endgroup::'

if [ "${EXIT_CODE}" != 0 ] || [ "${EXIT_CODE_SUGGESTION}" != 0 ]; then
Expand Down

0 comments on commit 7a4e9d7

Please sign in to comment.