Skip to content

Commit c4b9729

Browse files
committed
Update CI; Test Ruby 3.4 and Rails 8
1 parent 2438c53 commit c4b9729

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

.github/workflows/test.yml

+26-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
17+
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4']
1818
steps:
1919
- uses: actions/checkout@v4
2020
- name: Set up Ruby
@@ -46,6 +46,11 @@ jobs:
4646
if: ${{ matrix.ruby != '2.5' && matrix.ruby != '2.6' }}
4747
env:
4848
SINATRA: 4.0.0
49+
- run: bundle update && bundle exec rake test:sinatra
50+
name: "rake test:sinatra SINATRA=4.1.1"
51+
if: ${{ matrix.ruby != '2.5' && matrix.ruby != '2.6' }}
52+
env:
53+
SINATRA: 4.1.1
4954
- run: bundle update && bundle exec rake test:sinatra
5055
name: "rake test:sinatra SINATRA=main"
5156
if: ${{ matrix.ruby != '2.5' && matrix.ruby != '2.6' }}
@@ -98,9 +103,27 @@ jobs:
98103
env:
99104
RAILS: 7.0.8
100105
- run: bundle update && bundle exec rake test:rails
101-
name: "rake test:rails RAILS=7.1.3"
106+
name: "rake test:rails RAILS=7.1.5"
107+
env:
108+
RAILS: 7.1.5
109+
- run: bundle update && bundle exec rake test:rails
110+
name: "rake test:rails RAILS=7.2.2"
111+
env:
112+
RAILS: 7.2.2
113+
rails-8:
114+
runs-on: ubuntu-latest
115+
strategy:
116+
fail-fast: false
117+
steps:
118+
- uses: actions/checkout@v4
119+
- name: Set up Ruby
120+
uses: ruby/setup-ruby@v1
121+
with:
122+
ruby-version: 3.4
123+
- run: bundle update && bundle exec rake test:rails
124+
name: "rake test:rails RAILS=8.0.1"
102125
env:
103-
RAILS: 7.1.3
126+
RAILS: 8.0.1
104127
- run: bundle update && bundle exec rake test:rails
105128
name: "rake test:rails RAILS=main"
106129
env:

0 commit comments

Comments
 (0)