diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a208ce3..4f5bf267 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,7 @@ jobs: - rails70 - rails71 - rails72 + - rails80 - rails_main db: [POSTGRES, MYSQL, SQLITE] exclude: @@ -99,6 +100,22 @@ jobs: - appraisal: rails72 ruby: "3.0" + # Rails 8.0 supports Ruby 3.2+ + - appraisal: rails80 + ruby: "2.3" + - appraisal: rails80 + ruby: "2.4" + - appraisal: rails80 + ruby: "2.5" + - appraisal: rails80 + ruby: "2.6" + - appraisal: rails80 + ruby: "2.7" + - appraisal: rails80 + ruby: "3.0" + - appraisal: rails80 + ruby: "3.1" + # Rails main supports Ruby 3.2+ - appraisal: rails_main ruby: "2.3" diff --git a/Appraisals b/Appraisals index 17d2d81e..d23f3ef0 100644 --- a/Appraisals +++ b/Appraisals @@ -45,6 +45,13 @@ appraise "rails72" do gem "sqlite3", ">= 1.4" end +appraise "rails80" do + gem "rails", "~> 8.0.0" + gem "mysql2", "~> 0.5" + gem "pg", "~> 1.1" + gem "sqlite3", ">= 1.4" +end + appraise "rails_main" do gem "rails", github: "rails/rails", branch: "main" gem "mysql2", "~> 0.5" diff --git a/gemfiles/rails80.gemfile b/gemfiles/rails80.gemfile new file mode 100644 index 00000000..2942329f --- /dev/null +++ b/gemfiles/rails80.gemfile @@ -0,0 +1,10 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "~> 8.0.0" +gem "mysql2", "~> 0.5" +gem "pg", "~> 1.1" +gem "sqlite3", ">= 1.4" + +gemspec name: "audited", path: "../"