From 0f6023c6074e11580e4f1cb2f3d2c7bd5157af86 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Thu, 20 May 2021 14:51:55 +0200 Subject: [PATCH] Speed up rubocop execution --- .github/workflows/ci.yml | 2 +- .rubocop.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ea40849..dbefff23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,4 +99,4 @@ jobs: bundler-cache: true - name: Run rubocop - run: bundle exec rubocop + run: bundle exec rubocop --parallel diff --git a/.rubocop.yml b/.rubocop.yml index 17bffd55..b4b4ee01 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -22,3 +22,8 @@ AllCops: - 'bin/*' - 'db/schema.rb' - 'vendor/**/*' + # Ignore local files for faster processing + - 'tmp/**/*' + - 'out/**/*' + - 'node_modules/**/*' + - 'coverage/**/*'