Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

moneyforward/rails_best_practices-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Code review using Rails Best Practices

Analyze code statically by using Rails Best Practices in Github actions

Inputs

files

Changes the path to a Rails application

options

Changes rails_best_practices command line options.

Specify the options in JSON array format. e.g.: '["--vendor", "--spec"]'

working_directory

Changes the current working directory of the Node.js process

reporter_type_notation

Change the reporter.

(Multiple can be specified separated by commas)

Example usage

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

Contributing

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

License

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