这是indexloc提供的服务,不要输入任何密码
Skip to content

bump Go 1.20 and fix exit code #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 14, 2023
Merged

bump Go 1.20 and fix exit code #31

merged 4 commits into from
Jun 14, 2023

Conversation

shogo82148
Copy link
Contributor

No description provided.

script.sh Outdated
@@ -20,12 +20,14 @@ reviewdog \
-filter-mode="${INPUT_FILTER_MODE}" \
-fail-on-error="${INPUT_FAIL_ON_ERROR}" \
-level="${INPUT_LEVEL}" \
${INPUT_REVIEWDOG_FLAGS} <"${TMPFILE}" || EXIT_CODE=$?
${INPUT_REVIEWDOG_FLAGS} <"${TMPFILE}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. SC2086

script.sh Outdated
@@ -20,12 +20,14 @@ reviewdog \
-filter-mode="${INPUT_FILTER_MODE}" \
-fail-on-error="${INPUT_FAIL_ON_ERROR}" \
-level="${INPUT_LEVEL}" \
${INPUT_REVIEWDOG_FLAGS} <"${TMPFILE}" || EXIT_CODE=$?
${INPUT_REVIEWDOG_FLAGS} <"${TMPFILE}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shellcheck] reported by reviewdog 🐶

Suggested change
${INPUT_REVIEWDOG_FLAGS} <"${TMPFILE}"
"${INPUT_REVIEWDOG_FLAGS}" <"${TMPFILE}"

INPUT_REVIEWDOG_FLAGS is intentionally split to pass multiple flags
@shogo82148 shogo82148 merged commit 249222a into master Jun 14, 2023
@shogo82148 shogo82148 deleted the bump-go1.20 branch June 14, 2023 14:21
@shogo82148 shogo82148 changed the title bump Go 1.20. Closes #30 bump Go 1.20 and fix exit code Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant