summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyrylo Silin <silin@kyrylo.org>2021-07-04 22:57:46 +0300
committerGitHub <noreply@github.com>2021-07-04 22:57:46 +0300
commit4aa6a327fc12555cb2d699db29588dbc479fb0e5 (patch)
tree483b7c73d22a8ec81e8ce41c432d2082a9999fcb
parentf584bd06ab388707d411c89469871106e3d406e2 (diff)
parentca372a5b75896637cd91849ca1dbeca59fca496e (diff)
downloadpry-4aa6a327fc12555cb2d699db29588dbc479fb0e5.tar.gz
Merge pull request #2211 from pry/rubocop-lint-fix
.github/workflows/test: fix Rubocop linting
-rw-r--r--.github/workflows/test.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 8ee4e0ff..4dd7ba79 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -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: |