Skip to content

Commit

Permalink
Merge pull request #739 from collectiveidea/rails8
Browse files Browse the repository at this point in the history
Add Rails 8.0 to build matrix
  • Loading branch information
danielmorrison authored Nov 8, 2024
2 parents a1847f6 + e64b4e3 commit 05b7aad
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- rails70
- rails71
- rails72
- rails80
- rails_main
db: [POSTGRES, MYSQL, SQLITE]
exclude:
Expand Down Expand Up @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 10 additions & 0 deletions gemfiles/rails80.gemfile
Original file line number Diff line number Diff line change
@@ -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: "../"

0 comments on commit 05b7aad

Please sign in to comment.