From eb5ade9279a479f677ba4d0641597a7e9f70e633 Mon Sep 17 00:00:00 2001 From: Bruno Valentino Date: Thu, 7 Nov 2024 21:17:55 -0500 Subject: [PATCH] Add Rails 8 support and GH Action test --- .github/workflows/test.yml | 4 +++- gemfiles/rails-8.0.gemfile | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 gemfiles/rails-8.0.gemfile diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aacbf431..a387a253 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,8 +24,10 @@ jobs: strategy: matrix: ruby: ["3.2", "3.3"] - activemodel: ["7.1"] + activemodel: ["7.1", "8.0"] include: + - activemodel: "8.0" + ruby: "3.3" - activemodel: "7.0" ruby: "3.2" - activemodel: "6.1" diff --git a/gemfiles/rails-8.0.gemfile b/gemfiles/rails-8.0.gemfile new file mode 100644 index 00000000..034476be --- /dev/null +++ b/gemfiles/rails-8.0.gemfile @@ -0,0 +1,7 @@ +source 'https://rubygems.org' + +gemspec path: '..' + +gem 'activemodel', '~> 8.0.0' +gem 'activerecord', '~> 8.0.0' +gem 'sqlite3', '>= 2.1'