Fixing rubocop integration

pull/16382/head
Javier Villar 3 years ago
parent c83621bfda
commit 820b3edf3e

@ -11,10 +11,11 @@ jobs:
- uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1
with: with:
ruby-version: 2.5 ruby-version: 2.5
- run: 'gem install activesupport -v 6.1.4.4'
- name: Rubocop linter - name: Rubocop linter
uses: reviewdog/action-rubocop@v1 uses: reviewdog/action-rubocop@v1
with: with:
rubocop_version: 1.12.1 rubocop_version: 1.23.0
github_token: ${{ secrets.github_token }} github_token: ${{ secrets.github_token }}
reporter: github-pr-check reporter: github-pr-check
level: error level: error

@ -6,7 +6,7 @@ require:
- rubocop-rspec - rubocop-rspec
AllCops: AllCops:
TargetRubyVersion: 2.4 TargetRubyVersion: 2.5
Exclude: Exclude:
- "vendor/**/*" - "vendor/**/*"
- "db/schema.rb" - "db/schema.rb"

Loading…
Cancel
Save