From da22fec15fc12f0d0a54bb98b59732542f0320cd Mon Sep 17 00:00:00 2001 From: Nicolas Temciuc Date: Sat, 14 Dec 2024 09:04:46 -0300 Subject: [PATCH] fix(ci): correct rubocop condition for Ruby 3.3 in workflow Fixed the `if` condition that caused the `rubocop` job to not run for Ruby 3.3. The condition was incorrectly referencing `matrix.ruby` instead of `matrix.ruby-version`, resulting in the step being skipped. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 375e212..e971f40 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,6 +50,6 @@ jobs: bundler-cache: true - name: Run rubocop run: bundle exec rubocop - if: ${{ matrix.ruby == '3.3' }} + if: ${{ matrix.ruby-version == '3.3' }} - name: Run tests run: bundle exec rspec