Skip to content

Commit

Permalink
Merge pull request #145 from skryukov/add-rails-7.2-to-ci-matrix
Browse files Browse the repository at this point in the history
Add Rails 7.2 to the CI matrix
  • Loading branch information
bknoles authored Oct 30, 2024
2 parents e203b30 + ae9ec9b commit b2701ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
fail-fast: false
matrix:
ruby: ['3.1', '3.2', '3.3']
rails: ['6.1', '7.0', '7.1']
rails: ['6.1', '7.0', '7.1', '7.2']

runs-on: ubuntu-latest
name: Test against Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ source "https://rubygems.org"
# Specify your gem's dependencies in inertia-rails.gemspec
gemspec

version = ENV["RAILS_VERSION"] || "7.1"
gem "rails", "~> #{version}.0"
version = ENV["RAILS_VERSION"] || "7.2"
gem "rails", "~> #{version}.0"
2 changes: 1 addition & 1 deletion spec/dummy/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
config.cache_store = :null_store

# Raise exceptions instead of rendering exception templates.
config.action_dispatch.show_exceptions = false
config.action_dispatch.show_exceptions = Rails.version < '7.1' ? false : :none

# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false
Expand Down

0 comments on commit b2701ec

Please sign in to comment.