Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Alireza Bashiri authored May 4, 2020
1 parent 12a2965 commit 64a66d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ cd "$GITHUB_WORKSPACE"

export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"

gem install -N rubocop $(version $INPUT_RUBOCOP_VERSION)
gem install -N standard $(version $INPUT_RUBOCOP_VERSION)

echo $INPUT_RUBOCOP_EXTENSIONS | xargs gem install -N
# echo $INPUT_RUBOCOP_EXTENSIONS | xargs gem install -N

rubocop ${INPUT_RUBOCOP_FLAGS} \
standardrb ${INPUT_RUBOCOP_FLAGS} \
| reviewdog -f=rubocop -name="${INPUT_TOOL_NAME}" -reporter="${INPUT_REPORTER}" -level="${INPUT_LEVEL}"

0 comments on commit 64a66d8

Please sign in to comment.