Skip to content

Commit

Permalink
Change CI settings for support Ruby3.0+ Rails6.1+
Browse files Browse the repository at this point in the history
Now, Ruby 2.7 is EOL, and Rails 6.0 is also EOL.

So I changed the CI settings to support only those higher versions.

Fix Sorcery#340
  • Loading branch information
willnet committed Jan 31, 2024
1 parent d9dc0bd commit 2591eb2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 33 deletions.
37 changes: 12 additions & 25 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,28 @@ jobs:
fail-fast: false
matrix:
ruby:
- 2.7
- 3.0.0
# - 3.1
- '3.0'
- '3.1'
- '3.2'
- '3.3'

rails:
- '52'
- '60'
- '61'
# - '70'
- '70'
- '71'

exclude:
- ruby: 2.4
rails: '60'
- ruby: 2.4
- ruby: '3.3'
rails: '70'
- ruby: '3.3'
rails: '61'
- ruby: '3.2'
rails: '61'
# - ruby: 2.4
# rails: '70'
# - ruby: 2.5
# rails: '70'
# - ruby: 2.6
# rails: '70'
- ruby: 3.0.0
rails: '52'
# - ruby: 3.1
# rails: '52'
# - ruby: 3.1
# rails: '60'
# - ruby: 3.1
# rails: '61'

env:
BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.rails }}.gemfile

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
7 changes: 0 additions & 7 deletions gemfiles/rails_52.gemfile

This file was deleted.

2 changes: 1 addition & 1 deletion gemfiles/rails_60.gemfile → gemfiles/rails_71.gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

gem 'rails', '~> 6.0.0'
gem 'rails', '~> 7.1.0'
gem 'rails-controller-testing'
gem 'sqlite3', '~> 1.4'

Expand Down

0 comments on commit 2591eb2

Please sign in to comment.