diff --git a/script.sh b/script.sh index fe16739..47444de 100755 --- a/script.sh +++ b/script.sh @@ -13,13 +13,13 @@ echo '::group::🐶 Installing typos ... https://github.com/crate-ci/typos' TEMP_PATH="$(mktemp -d)" PATH="${TEMP_PATH}:$PATH" wget -O - -q https://raw.githubusercontent.com/crate-ci/gh-install/057430d007bc58dc624003c9af8ff9cf1f747c66/v1/install.sh \ - | sh -s -- --tag "${TYPOS_VERSION}" --git crate-ci/typos --target x86_64-unknown-linux-musl --to ${TEMP_PATH} + | sh -s -- --tag "${TYPOS_VERSION}" --git crate-ci/typos --target x86_64-unknown-linux-musl --to "${TEMP_PATH}" echo '::endgroup::' echo '::group:: Running typos with reviewdog 🐶 ...' # shellcheck disable=SC2086 -typos ${INPUT_TYPOS_FLAGS} --format json | \ - jq -f "${GITHUB_ACTION_PATH}/to-rdjsonl.jq" -c | \ +typos ${INPUT_TYPOS_FLAGS} --format json | + jq -f "${GITHUB_ACTION_PATH}/to-rdjsonl.jq" -c | reviewdog \ -f="rdjsonl" \ -name="${INPUT_TOOL_NAME}" \