Skip to content

Commit da054ce

Browse files
committed
Tidy up non-debug output
1 parent 9cc8985 commit da054ce

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ runs:
5858
python-version: ${{ inputs.python-version }}
5959
- name: Run Python Lint
6060
run: |
61-
echo "::notice::Using python version ${INPUTS_PYTHON_VERSION}"
62-
61+
echo "::debug::Running Python Lint for ${INPUTS_LINTER} on ${INPUTS_TARGET} with Python ${INPUTS_PYTHON_VERSION}"
6362
# set python command
6463
if [[ "${OSTYPE}" == "msys" ]]; then
6564
PYTHON_CMD=python
@@ -116,6 +115,8 @@ runs:
116115
fi
117116
fi
118117
118+
echo "::debug::Installing ${INPUTS_LINTER}${LINTER_VERSION_CONSTRAINT} for Python ${INPUTS_PYTHON_VERSION}"
119+
119120
# install linter
120121
if ! "${PYTHON_CMD}" -mpip install "${INPUTS_LINTER}${LINTER_VERSION_CONSTRAINT}" ${EXTRA_PIP_FLAGS}; then
121122
echo "::error::${INPUTS_LINTER}${LINTER_VERSION_CONSTRAINT} failed to install for Python ${INPUTS_PYTHON_VERSION}"
@@ -128,7 +129,7 @@ runs:
128129
129130
# install flake8-sarif-formatter if needed
130131
if [[ "${install_flake8_formatter_linters[*]}" =~ (^|[^[:alpha:]])${INPUTS_LINTER}([^[:alpha:]]|$) ]]; then
131-
echo "::notice::installing flake8_sarif_formatter for ${INPUTS_LINTER}"
132+
echo "::debug::Installing flake8_sarif_formatter for ${INPUTS_LINTER}"
132133
"${PYTHON_CMD}" -mpip install flake8-sarif-formatter || ( echo "::error::flake8-sarif-formatter failed to install for Python ${INPUTS_PYTHON_VERSION}" && exit 1 )
133134
fi
134135

0 commit comments

Comments
 (0)