Update rubocop-rails to version 2.27.0 #1064
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting | |
env: | |
BUNDLE_WITHOUT: 'test development default' | |
on: | |
- push | |
- pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true # Runs bundle install and caches gems. See the ruby_test.yml | |
# example if you need more control over bundler. | |
- name: Run lint | |
run: bundle exec rubocop --extra-details --display-style-guide --parallel |