From 0055e57d7a8166fadbd3d623ad8445c3822e70d0 Mon Sep 17 00:00:00 2001 From: Samuel O'Daniels <35481602+Samuelodan@users.noreply.github.com> Date: Fri, 24 Jul 2026 09:07:45 +0100 Subject: [PATCH] Run test suite in both Ruby 3 and 4 --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd382e5..ccf8c30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,13 +11,16 @@ jobs: ci: runs-on: ubuntu-latest name: RSpec and Rubocop + strategy: + matrix: + ruby: [ '3.4', '4.0' ] timeout-minutes: 3 steps: - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: ${{ env.ruby_version }} + ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run rspec run: bundle exec rspec