From 60933989a97c7c88cedfa4b140a14ee3062ee235 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Thu, 2 May 2024 21:57:04 +0200 Subject: [PATCH] CI: Run rubocop --- .github/workflows/test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61ba589..c5576c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,19 @@ env: BUNDLE_WITHOUT: release jobs: + rubocop: + env: + BUNDLE_WITHOUT: release + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Ruby ${{ matrix.ruby }} + uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.3" + bundler-cache: true + - name: Run Rubocop + run: bundle exec rake rubocop test: runs-on: ubuntu-latest strategy: @@ -59,6 +72,7 @@ jobs: tests: needs: + - rubocop - test runs-on: ubuntu-latest name: Test suite