Skip to content
search

GitHub Action

Code review using Goodcheck

v0.0.1 Latest version

Code review using Goodcheck

search

Code review using Goodcheck

Analyze code statically using Goodcheck in Github actions

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Code review using Goodcheck

uses: moneyforward/goodcheck-action@v0.0.1

Learn more about this action in moneyforward/goodcheck-action

Choose a version

Code review using Goodcheck

Analyze code statically by using Goodcheck in Github actions

Inputs

files

Specify files or directories

(Multiple files or directories can be specified by separating them with line feed)

options

Changes goodcheck command line options.

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

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:
  goodcheck:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Analyze code statically using Goodcheck
        uses: moneyforward/goodcheck-action@v0

Contributing

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

License

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