Skip to content

Commit

Permalink
Add Rails 8.0 to the CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
skryukov committed Nov 28, 2024
1 parent 78d48a9 commit c9f1fe4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ jobs:

- name: Run generator tests
run: bundle exec rspec --tag type:generator
env:
RAILS_VERSION: ${{ matrix.rails }}

- name: Set up Node
uses: actions/setup-node@v4
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,17 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['3.1', '3.2', '3.3']
rails: ['6.1', '7.0', '7.1', '7.2']
ruby: ['3.0', '3.1', '3.2', '3.3']
rails: ['6.1', '7.0', '7.1', '7.2', '8.0']
exclude:
- ruby: '3.0'
rails: '8.0'
- ruby: '3.1'
rails: '8.0'
- ruby: '3.0'
rails: '7.2'
- ruby: '3.1'
rails: '7.2'

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

version = ENV['RAILS_VERSION'] || '7.2'
version = ENV['RAILS_VERSION'] || '8.0'
gem 'rails', "~> #{version}.0"

gem 'bundler', '~> 2.0'
Expand Down

0 comments on commit c9f1fe4

Please sign in to comment.