From 82071368c8e5c89e2706cc3b59e16809330db57d Mon Sep 17 00:00:00 2001 From: Sean Doyle Date: Fri, 27 Sep 2024 14:26:35 -0400 Subject: [PATCH] Expand CI Matrix Support Rails 7.1 and 7.2. Experiment with Ruby 3.3. --- .github/workflows/ci.yml | 16 +++++++++------- Gemfile | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65ea456..09eb8be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,19 +16,21 @@ jobs: - "3.0" - "3.1" - "3.2" + - "3.3" rails-version: - - "7.1" - - "7.0" - "6.1" - - "main" + - "7.0" + - "7.1" + - "7.2" selenium-browser: - "headless_chrome" - "headless_firefox" + include: + - { ruby-version: "3.2", rails-version: "main" } + - { ruby-version: "3.3", rails-version: "main" } exclude: - - ruby-version: "2.7" - rails-version: "main" - - ruby-version: "3.0" - rails-version: "main" + - { ruby-version: "2.7", rails-version: "7.2" } + - { ruby-version: "3.0", rails-version: "7.2" } env: RAILS_VERSION: "${{ matrix.rails-version }}" diff --git a/Gemfile b/Gemfile index 43333ad..035986d 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gemspec # To use a debugger # gem 'byebug', group: [:development, :test] -rails_version = ENV.fetch("RAILS_VERSION", "6.1") +rails_version = ENV.fetch("RAILS_VERSION", "7.2") if rails_version == "main" rails_constraint = { github: "rails/rails" }