File tree Expand file tree Collapse file tree 3 files changed +10
-25
lines changed Expand file tree Collapse file tree 3 files changed +10
-25
lines changed Original file line number Diff line number Diff line change 36
36
${{ inputs.fawltydeps-version }}
37
37
${{ inputs.requirements-files || inputs.requirementsFiles }}
38
38
shell: bash
39
- - run : echo "::add-matcher::$GITHUB_ACTION_PATH/fawltydeps-matcher.json"
40
- shell : bash
41
39
- id : run-fawltydeps
42
40
run : >
43
41
$GITHUB_ACTION_PATH/bin/run_fawltydeps
44
42
${{ inputs.options }}
45
43
${{ inputs.paths }}
46
44
shell : bash
47
- - run : echo "::remove-matcher owner=fawltydeps-matcher::"
48
- shell : bash
Original file line number Diff line number Diff line change @@ -16,8 +16,16 @@ DELIMITER=$(echo $RANDOM | md5sum | head -c 20)
16
16
} >> " ${GITHUB_OUTPUT} "
17
17
18
18
if [[ " $exit_code " -eq 0 ]]; then
19
- echo " OK: fawltydeps :rocket:" > " $GITHUB_STEP_SUMMARY "
19
+ echo " OK: ' fawltydeps $* ' :rocket:" > " $GITHUB_STEP_SUMMARY "
20
20
else
21
- echo " Error: fawltydeps found issues" > " $GITHUB_STEP_SUMMARY "
21
+ {
22
+ # shellcheck disable=SC2006
23
+ cat << EOF
24
+ Error: 'fawltydeps $* ' found issues:
25
+ ` ` `
26
+ ${fawltydeps_result}
27
+ ` ` `
28
+ EOF
29
+ } > " $GITHUB_STEP_SUMMARY "
22
30
fi
23
31
exit $exit_code
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments