Skip to content

Commit

Permalink
Against 7.1 only
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Jun 28, 2024
1 parent 90c60e2 commit 5053df0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
ruby_version: [ruby-head, '3.3', '3.2', '3.1']
rails_version: [edge, '7.1']
rails_version: ['7.1']
api: ['0', '1']

env:
Expand Down
9 changes: 2 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@ source 'https://rubygems.org'

gemspec

if ENV['RAILS_VERSION'] == 'edge'
gem 'rails', git: 'https://github.com/rails/rails.git'
gem 'sqlite3'
elsif ENV['RAILS_VERSION']
gem 'rails', "~> #{ENV['RAILS_VERSION']}.0"
gem 'sqlite3', '< 2'
end
gem 'rails', "~> #{ENV['RAILS_VERSION']}.0"
gem 'sqlite3', '< 2'
gem 'rackup'

gem 'test-unit-rails'
Expand Down

0 comments on commit 5053df0

Please sign in to comment.