From f38238aa22451b31e8ae010eef75241243b99387 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Mon, 8 Aug 2022 18:53:06 +0200 Subject: [PATCH] Add GitHub action checks for Rubocop --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 637ba572..d8ee32a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,4 +98,12 @@ jobs: bundler-cache: true - name: Run rubocop - run: bundle exec rubocop --parallel + uses: reviewdog/action-rubocop@v2 + with: + filter_mode: nofilter + rubocop_version: gemfile + rubocop_extensions: rubocop-rails:gemfile rubocop-rspec:gemfile rubocop-performance:gemfile + rubocop_flags: --parallel + reporter: github-check + skip_install: true + use_bundler: true