Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
haya14busa and github-actions[bot] authored Jun 15, 2024
1 parent 9762478 commit 6ba713b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand Down

0 comments on commit 6ba713b

Please sign in to comment.