Skip to content

Merge pull request #221 from jespersandnielsen/development #252

Merge pull request #221 from jespersandnielsen/development

Merge pull request #221 from jespersandnielsen/development #252

Workflow file for this run

name: reviewdog
on: [push, pull_request]
jobs:
rubocop:
name: runner / rubocop
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Read ruby version
run: echo ::set-output name=RUBY_VERSION::$(cat .ruby-version | cut -f 1,2 -d .)
id: rv
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ steps.rv.outputs.RUBY_VERSION }}"
- uses: reviewdog/action-rubocop@v1
with:
filter_mode: nofilter
reporter: github-check
rubocop_version: 0.93.1
github_token: ${{ secrets.github_token }}
rubocop_extensions: rubocop-performance:1.10.2 rubocop-rails:2.9.1 rubocop-rspec:1.44.1