Merge pull request #2211 from pry/rubocop-lint-fix

.github/workflows/test: fix Rubocop linting
This commit is contained in:
Kyrylo Silin 2021-07-04 22:57:46 +03:00 committed by GitHub
commit 4aa6a327fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -21,7 +21,11 @@ jobs:
bundler-cache: true
- name: Rubocop lint
run: which rubocop && bundle exec rubocop || true
run: |
if bundle list | grep rubocop
then
bundle exec rubocop --parallel
fi
- name: YARD lint
run: |