From d57a8e4c32177ecf33696abbda01b3b6da91c8fb Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Fri, 1 Nov 2024 21:11:50 +0100 Subject: [PATCH] Add CI for Rails 7.2 Additionally, add an exclude for main since it bumped the ruby version --- .github/workflows/ci.yml | 8 +++++++- gemfiles/rails_7.2.gemfile | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 gemfiles/rails_7.2.gemfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4999e4b..01596f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,18 @@ jobs: fail-fast: false matrix: ruby: [ '2.7', '3.0', '3.1', '3.2', '3.3', 'head', 'truffleruby' ] - rails: [ '6.1', '7.0', '7.1', 'main' ] + rails: [ '6.1', '7.0', '7.1', '7.2', 'main' ] exclude: + - ruby: '2.7' + rails: '7.2' + - ruby: '3.0' + rails: '7.2' - ruby: '2.7' rails: 'main' - ruby: '3.0' rails: 'main' + - ruby: '3.1' + rails: 'main' env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails }}.gemfile diff --git a/gemfiles/rails_7.2.gemfile b/gemfiles/rails_7.2.gemfile new file mode 100644 index 0000000..57f50f7 --- /dev/null +++ b/gemfiles/rails_7.2.gemfile @@ -0,0 +1,6 @@ +source "https://rubygems.org" + +gem "activemodel", "~> 7.2.0" +gem "railties", "~> 7.2.0" + +gemspec path: "../"