Skip to content

Code review using Rubocop

Actions
Analyze code statically using Rubocop in Github actions
v0.0.6
Latest
Star (1)

Tags

 (1)

Code review using Rubocop

Analyze code statically by using Rubocop in Github actions

Inputs

files

Pass rubocop a list of files and directories to analyze.

Running rubocop with no arguments will analyze all Ruby source files in the warking directory.

options

Changes rubocop command line options.

Specify the options in JSON array format. e.g.: '["--fail-level", "W", "--display-only-fail-level-offenses"]'

working_directory

Changes the current working directory of the Node.js process

Example usage

name: Analyze code statically
"on": pull_request
jobs:
  rubocop:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Analyze code statically using Rubocop
        uses: moneyforward/rubocop-action@v0

Contributing

Bug reports and pull requests are welcome on GitHub at /~https://github.com/moneyforward/rubocop-action

License

The gem is available as open source under the terms of the MIT License.

Code review using Rubocop is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Analyze code statically using Rubocop in Github actions
v0.0.6
Latest

Tags

 (1)

Code review using Rubocop is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.