Skip to content

Commit c7db3d5

Browse files
authored
ci: test ruby and rails latest (#478)
1 parent f45880e commit c7db3d5

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,12 @@ jobs:
5252
matrix:
5353
ruby:
5454
- '3.4'
55+
- '4.0'
5556
rails:
5657
- '7.2'
5758
- '8.0'
5859
- '8.1.1'
60+
- 'edge'
5961

6062
steps:
6163
- name: Checkout

Gemfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@ gem 'dotenv'
88
gem 'with_advisory_lock', '>= 7'
99

1010
rails_version = ENV['RAILS_VERSION'] || '8.0'
11-
gem 'activerecord', "~> #{rails_version}"
12-
gem 'railties', "~> #{rails_version}"
11+
if rails_version == 'edge'
12+
gem 'activerecord', github: 'rails/rails'
13+
gem 'railties', github: 'rails/rails'
14+
else
15+
gem 'activerecord', "~> #{rails_version}"
16+
gem 'railties', "~> #{rails_version}"
17+
end
1318

1419
platforms :mri, :truffleruby do
1520
# Database adapters

0 commit comments

Comments
 (0)