From ea20702624d6b01dab4737fe57f21e7557affcd1 Mon Sep 17 00:00:00 2001 From: benk-gc Date: Sat, 6 Jul 2024 22:21:38 +0100 Subject: [PATCH] Add GitHub action to run rubocop. --- .github/workflows/tests.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9945b21..c7f4d11 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,6 +4,19 @@ on: push: jobs: + rubocop: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + ruby-version: "3.0" + - name: Run rubocop + run: | + bundle exec rubocop --extra-details --display-style-guide --no-server --parallel + rspec: strategy: fail-fast: false