Skip to content

Commit 3fd02aa

Browse files
committed
WIP
1 parent ff029ff commit 3fd02aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ runs:
108108
DIKTAT_ARGS=('--config', '${{ inputs.config }}', '--reporter', '${{ inputs.reporter }}')
109109
if [[ '${{ inputs.color }}' != 'false' ]]
110110
then
111-
DIKTAT_ARGS+=('--color')
111+
DIKTAT_ARGS+=('--color-name')
112112
fi
113113
if [[ '${{ inputs.debug }}' == 'true' ]]
114114
then
115-
DIKTAT_ARGS+=('--debug')
115+
DIKTAT_ARGS+=('--log-level DEBUG')
116116
fi
117117
if [[ '${{ inputs.relative-paths }}' != 'false' ]]
118118
then
@@ -165,7 +165,7 @@ runs:
165165
166166
if (( ${{ steps.diktat.outputs.exit-code }} <= 1 ))
167167
then
168-
diktat --version | awk '{ split($0, versions, ": *"); print " - _" versions[1] "_: **" versions[2] "**" }' >>${GITHUB_STEP_SUMMARY}
168+
${GITHUB_WORKSPACE}/diktat --version | awk '{ split($0, versions, ": *"); print " - _" versions[1] "_: **" versions[2] "**" }' >>${GITHUB_STEP_SUMMARY}
169169
fi
170170
171171
if (( ${{ steps.diktat.outputs.exit-code }} != 1 ))

0 commit comments

Comments
 (0)