mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #37809 from yahonda/split_bundle_install_and_rubocop
Easy to show `bundle exec rubocop` output at GitHub Actions
This commit is contained in:
commit
e3ed320cb4
1 changed files with 3 additions and 2 deletions
5
.github/workflows/rubocop.yml
vendored
5
.github/workflows/rubocop.yml
vendored
|
@ -23,8 +23,9 @@ jobs:
|
|||
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gem-
|
||||
- name: Build and run RuboCop
|
||||
- name: Install gems
|
||||
run: |
|
||||
bundle config path vendor/bundle
|
||||
bundle install --jobs 4 --retry 3
|
||||
bundle exec rubocop --parallel
|
||||
- name: Run RuboCop
|
||||
run: bundle exec rubocop --parallel
|
||||
|
|
Loading…
Reference in a new issue