name: Rubocop on: push: branches: - master pull_request: jobs: rubocop: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.7 - name: RuboCop run: | gem install bundler bundle install --gemfile gemfiles/rubocop.gemfile --jobs 4 --retry 3 bundle exec --gemfile gemfiles/rubocop.gemfile rubocop