Skip to content

Commit e3ed320

Browse files
authored
Merge pull request rails#37809 from yahonda/split_bundle_install_and_rubocop
Easy to show `bundle exec rubocop` output at GitHub Actions
2 parents 3d0a782 + 4ba2a9b commit e3ed320

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/rubocop.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
2424
restore-keys: |
2525
${{ runner.os }}-gem-
26-
- name: Build and run RuboCop
26+
- name: Install gems
2727
run: |
2828
bundle config path vendor/bundle
2929
bundle install --jobs 4 --retry 3
30-
bundle exec rubocop --parallel
30+
- name: Run RuboCop
31+
run: bundle exec rubocop --parallel

0 commit comments

Comments
 (0)