Skip to content

Commit c9f1fe4

Browse files
committed
Add Rails 8.0 to the CI pipeline
1 parent 78d48a9 commit c9f1fe4

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.github/workflows/generators.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ jobs:
4747

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

5351
- name: Set up Node
5452
uses: actions/setup-node@v4

.github/workflows/push.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,17 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
ruby: ['3.1', '3.2', '3.3']
37-
rails: ['6.1', '7.0', '7.1', '7.2']
36+
ruby: ['3.0', '3.1', '3.2', '3.3']
37+
rails: ['6.1', '7.0', '7.1', '7.2', '8.0']
38+
exclude:
39+
- ruby: '3.0'
40+
rails: '8.0'
41+
- ruby: '3.1'
42+
rails: '8.0'
43+
- ruby: '3.0'
44+
rails: '7.2'
45+
- ruby: '3.1'
46+
rails: '7.2'
3847

3948
runs-on: ubuntu-latest
4049
name: Test against Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source 'https://rubygems.org'
55
# Specify your gem's dependencies in inertia_rails.gemspec
66
gemspec
77

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

1111
gem 'bundler', '~> 2.0'

0 commit comments

Comments
 (0)