-
Notifications
You must be signed in to change notification settings - Fork 5
feat: Adjust the template to working with protolint #1
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
Conversation
entrypoint.sh
Outdated
# Install protolint | ||
if ! [ -f "protolint" ]; then | ||
echo "🔄 Installing protolint v${INPUT_PROTOLINT_VERSION}..." | ||
curl -sSOL https://github.com/yoheimuta/protolint/releases/download/v${INPUT_PROTOLINT_VERSION}/protolint_${INPUT_PROTOLINT_VERSION}_Linux_x86_64.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entrypoint.sh
Outdated
# Install protolint | ||
if ! [ -f "protolint" ]; then | ||
echo "🔄 Installing protolint v${INPUT_PROTOLINT_VERSION}..." | ||
curl -sSOL https://github.com/yoheimuta/protolint/releases/download/v${INPUT_PROTOLINT_VERSION}/protolint_${INPUT_PROTOLINT_VERSION}_Linux_x86_64.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entrypoint.sh
Outdated
if ! [ -f "protolint" ]; then | ||
echo "🔄 Installing protolint v${INPUT_PROTOLINT_VERSION}..." | ||
curl -sSOL https://github.com/yoheimuta/protolint/releases/download/v${INPUT_PROTOLINT_VERSION}/protolint_${INPUT_PROTOLINT_VERSION}_Linux_x86_64.tar.gz | ||
tar zxf protolint_${INPUT_PROTOLINT_VERSION}_Linux_x86_64.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entrypoint.sh
Outdated
misspell -locale="${INPUT_LOCALE}" . \ | ||
| reviewdog -efm="%f:%l:%c: %m" \ | ||
-name="linter-name (misspell)" \ | ||
./protolint ${INPUT_PROTOLINT_FLAGS} \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entrypoint.sh
Outdated
curl -sSOL https://github.com/yoheimuta/protolint/releases/download/v${INPUT_PROTOLINT_VERSION}/protolint_${INPUT_PROTOLINT_VERSION}_Linux_x86_64.tar.gz | ||
tar zxf protolint_${INPUT_PROTOLINT_VERSION}_Linux_x86_64.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shellcheck (suggestion)] reported by reviewdog 🐶
curl -sSOL https://github.com/yoheimuta/protolint/releases/download/v${INPUT_PROTOLINT_VERSION}/protolint_${INPUT_PROTOLINT_VERSION}_Linux_x86_64.tar.gz | |
tar zxf protolint_${INPUT_PROTOLINT_VERSION}_Linux_x86_64.tar.gz | |
curl -sSOL https://github.com/yoheimuta/protolint/releases/download/v"${INPUT_PROTOLINT_VERSION}"/protolint_"${INPUT_PROTOLINT_VERSION}"_Linux_x86_64.tar.gz | |
tar zxf protolint_"${INPUT_PROTOLINT_VERSION}"_Linux_x86_64.tar.gz |
entrypoint.sh
Outdated
misspell -locale="${INPUT_LOCALE}" . \ | ||
| reviewdog -efm="%f:%l:%c: %m" \ | ||
-name="linter-name (misspell)" \ | ||
./protolint ${INPUT_PROTOLINT_FLAGS} \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shellcheck (suggestion)] reported by reviewdog 🐶
./protolint ${INPUT_PROTOLINT_FLAGS} \ | |
./protolint "${INPUT_PROTOLINT_FLAGS}" \ |
5ea5741
to
2b07015
Compare
🏷️ [bumpr] Next version:v0.1.0 |
No description provided.