From afc87c04f71074e8b322a04d33b0f4e9f2d4618d Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Wed, 1 Jul 2026 12:50:42 -0700 Subject: [PATCH] ci: test against Ruby 4.0 Add Ruby 4.0 to the CI build matrix, run the fixed-version type-check job on Ruby 4.0, and quote all version numbers for consistency. --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 176af77..bfd0670 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,9 @@ jobs: strategy: matrix: ruby: - - 3.3 - - 3.4 + - '3.3' + - '3.4' + - '4.0' env: BUNDLE_GEMFILE: Gemfile name: "RSpec tests: Ruby ${{ matrix.ruby }}" @@ -31,8 +32,9 @@ jobs: strategy: matrix: ruby: - - 3.3 - - 3.4 + - '3.3' + - '3.4' + - '4.0' env: BUNDLE_GEMFILE: Gemfile name: "Visual Regression Suite: Ruby ${{ matrix.ruby }}" @@ -54,6 +56,6 @@ jobs: uses: ruby/setup-ruby@v1 with: bundler-cache: true - ruby-version: '3.3' + ruby-version: '4.0' - name: Run static type checks run: bundle exec srb tc