Skip to content

Commit

Permalink
Add Rails 7.1 & Ruby 3.3 gem to CI (#201)
Browse files Browse the repository at this point in the history
* Added rails 7.1 to CI

* Added ruby 3.3 to CI

---------

Co-authored-by: zogoo <[email protected]>
  • Loading branch information
taketo1113 and Zogoo authored Jan 4, 2024
1 parent c7cf1b6 commit b3fda6f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,19 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
gemfile: [rails_5.2.gemfile, rails_6.1.gemfile, rails_7.0.gemfile, rails_dev.gemfile]
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
gemfile: [rails_5.2.gemfile, rails_6.1.gemfile, rails_7.0.gemfile, rails_7.1.gemfile, rails_dev.gemfile]
exclude:
- ruby: '2.5'
gemfile: rails_7.0.gemfile
- ruby: '2.5'
gemfile: rails_7.1.gemfile
- ruby: '2.5'
gemfile: rails_dev.gemfile
- ruby: '2.6'
gemfile: rails_7.0.gemfile
- ruby: '2.6'
gemfile: rails_7.1.gemfile
- ruby: '2.6'
gemfile: rails_dev.gemfile
- ruby: '2.7'
Expand All @@ -31,13 +35,13 @@ jobs:
gemfile: rails_5.2.gemfile
- ruby: '3.2'
gemfile: rails_5.2.gemfile
- ruby: '3.2'
gemfile: rails_6.1.gemfile
- ruby: '3.3'
gemfile: rails_5.2.gemfile
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
5 changes: 5 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ appraise 'rails-7.0' do
gem 'activeresource', '~> 6.0.0'
end

appraise 'rails-7.1' do
gem 'rails', '~> 7.1.0'
gem 'activeresource', '~> 6.0.0'
end

appraise 'rails-dev' do
gem 'rails', :github => 'rails/rails', :branch => 'main'
gem 'activeresource', :github => 'rails/activeresource', :branch => 'main'
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails_7.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 7.1.0"
gem "activeresource", "~> 6.0.0"

gemspec path: "../"

0 comments on commit b3fda6f

Please sign in to comment.