Skip to content

Commit

Permalink
Merge pull request #5 from arvgord/feature/update_protolint
Browse files Browse the repository at this point in the history
refactor: update protolint version v0.38.2 -> v0.46.3
  • Loading branch information
yoheimuta authored Oct 31, 2023
2 parents a7c658b + 819874e commit 14d53be
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.16

ENV REVIEWDOG_VERSION=v0.14.1
ENV REVIEWDOG_VERSION=v0.15.0

SHELL ["/bin/ash", "-eo", "pipefail", "-c"]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ inputs:
### Flags for protolint ###
protolint_version:
description: 'Protolint version to be installed'
default: '0.38.2'
default: '0.46.3'
protolint_flags:
description: |
Flags and args to pass to protolint.
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ inputs:
### Flags for protolint ###
protolint_version:
description: 'Protolint version to be installed'
default: '0.38.2'
default: '0.46.3'
required: false
protolint_flags:
description: |
Expand Down
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ fi
# Install protolint
if ! [ -f "protolint" ]; then
echo "🔄 Installing protolint v${INPUT_PROTOLINT_VERSION}..."
wget 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
wget https://github.com/yoheimuta/protolint/releases/download/v"${INPUT_PROTOLINT_VERSION}"/protolint_"${INPUT_PROTOLINT_VERSION}"_linux_amd64.tar.gz
tar zxf protolint_"${INPUT_PROTOLINT_VERSION}"_linux_amd64.tar.gz
fi

export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"
Expand Down

0 comments on commit 14d53be

Please sign in to comment.