diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index f1a3a846..af8f5770 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -17,51 +17,37 @@ jobs: strategy: fail-fast: false matrix: - ruby_version: ["3.0", 2.7, 2.6, 2.5, 2.4, 2.3, jruby] + ruby_version: [3.1, "3.0", 2.7, 2.6, jruby] gemfile: [ Gemfile, - gemfiles/Gemfile.rails-5.0.x, - gemfiles/Gemfile.rails-5.1.x, gemfiles/Gemfile.rails-5.2.x, gemfiles/Gemfile.rails-6.0.x, gemfiles/Gemfile.rails-6.1.x, + gemfiles/Gemfile.rails-7.0.x, gemfiles/Gemfile.rails-main, ] exclude: + # Ruby 3.1 is not supported by Rails 5.2.x + - ruby_version: 3.1 + gemfile: gemfiles/Gemfile.rails-5.2.x + # Ruby 3.x is not supported by Rails 5.2.x - ruby_version: 3.0 gemfile: gemfiles/Gemfile.rails-5.2.x - # Ruby 3.x is not supported by Rails 5.1.x - - ruby_version: 3.0 - gemfile: gemfiles/Gemfile.rails-5.1.x - # Ruby 3.x is not supported by Rails 5.0.x - - ruby_version: 3.0 - gemfile: gemfiles/Gemfile.rails-5.0.x + # Ruby 2.6.x is not supported by Rails main - ruby_version: 2.6 gemfile: gemfiles/Gemfile.rails-main - # Ruby 2.5.x is not supported by Rails main - - ruby_version: 2.5 - gemfile: gemfiles/Gemfile.rails-main - # Ruby 2.4.x is not supported by Rails main - - ruby_version: 2.4 - gemfile: gemfiles/Gemfile.rails-main - # Ruby 2.4.x is not supported by Rails 6.1.x - - ruby_version: 2.4 - gemfile: gemfiles/Gemfile.rails-6.1.x - # Ruby 2.4.x is not supported by Rails 6.0.x - - ruby_version: 2.4 - gemfile: gemfiles/Gemfile.rails-6.0.x - # Ruby 2.3.x is not supported by Rails 6.1.x - - ruby_version: 2.3 - gemfile: gemfiles/Gemfile.rails-6.1.x - # Ruby 2.3.x is not supported by Rails main - - ruby_version: 2.3 - gemfile: gemfiles/Gemfile.rails-main - # Ruby 2.3.x is not supported by Rails 6.0.x - - ruby_version: 2.3 - gemfile: gemfiles/Gemfile.rails-6.0.x + + # Ruby 2.6.x is not supported by Rails 7.0.x + - ruby_version: 2.6 + gemfile: gemfiles/Gemfile.rails-7.0.x + + # JRuby is not supported by Rails 7.0.x + - ruby_version: jruby + gemfile: gemfiles/Gemfile.rails-7.0.x + # JRuby is not supported by Rails main - ruby_version: jruby gemfile: gemfiles/Gemfile.rails-main diff --git a/gemfiles/Gemfile.rails-7.0.x b/gemfiles/Gemfile.rails-7.0.x new file mode 100644 index 00000000..90ffe74f --- /dev/null +++ b/gemfiles/Gemfile.rails-7.0.x @@ -0,0 +1,13 @@ +source 'https://rubygems.org' + +gemspec :path => '..' + +gem 'activesupport', '~> 7.0' +gem 'mocha', '~> 1.7.0' +gem 'test_declarative', '0.0.6' +gem 'rake' +gem 'minitest', '~> 5.14' + +platforms :mri do + gem 'oj' +end