From da9791cfc6a8e12b3e265b65adeb45e78d63f736 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Thu, 7 May 2026 22:16:38 +0200 Subject: [PATCH] CI: run rubocop only once previously, we called the default rake task, which runs the unit tests and afterwards rubocop. That doesn't make much sense. We usually run rubocop once, before generating the matrix. We can do the same here. Signed-off-by: Tim Meusel --- .github/workflows/ruby.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 58667606..d4cb8eee 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -22,6 +22,8 @@ jobs: with: ruby-version: '3.4' bundler-cache: true + - name: Run Rubocop + run: bundle exec rake rubocop - id: ruby uses: voxpupuli/ruby-version@v2 @@ -41,7 +43,7 @@ jobs: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run tests - run: bundle exec rake + run: bundle exec rake check - name: Build gem run: gem build --strict --verbose *.gemspec