Skip to content

Commit ecd4999

Browse files
committed
ci: add Rails 8.1.0.rc1 to test matrix
1 parent 5f9006c commit ecd4999

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
test:
1313
runs-on: ubuntu-latest
14-
14+
1515
services:
1616
postgres:
1717
image: postgres:17-alpine
@@ -26,7 +26,7 @@ jobs:
2626
--health-interval 10s
2727
--health-timeout 5s
2828
--health-retries 5
29-
29+
3030
mysql:
3131
image: mysql:8
3232
ports:
@@ -47,6 +47,7 @@ jobs:
4747
- '3.4'
4848
rails:
4949
- '8.0'
50+
- '8.1.0.rc1'
5051

5152
steps:
5253
- name: Checkout

Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ source 'https://rubygems.org'
55
gemspec
66

77
gem 'dotenv'
8-
gem 'railties'
98
gem 'with_advisory_lock', '>= 7'
109

11-
gem 'activerecord', "~> #{ENV['RAILS_VERSION'] || '8.0'}"
10+
rails_version = ENV['RAILS_VERSION'] || '8.0'
11+
gem 'activerecord', "~> #{rails_version}"
12+
gem 'railties', "~> #{rails_version}"
1213

1314
platforms :mri, :truffleruby do
1415
# Database adapters

0 commit comments

Comments
 (0)