Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .gemfiles/rails-5.2.x.gemfile

This file was deleted.

6 changes: 0 additions & 6 deletions .gemfiles/rails-6.0.x.gemfile

This file was deleted.

6 changes: 0 additions & 6 deletions .gemfiles/rails-6.1.x.gemfile

This file was deleted.

9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ jobs:
test:
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/.gemfiles/${{ matrix.gemfile }}.gemfile
RAILS_VERSION: ${{ matrix.rails }}
strategy:
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1' ]
gemfile:
- rails-5.2.x
- rails-6.0.x
- rails-6.1.x
ruby: ['2.7', '3.0', '3.1', '3.2' ]
rails: ['~> 5.2', '~> 6.0', '~> 6.1', '~> 7.0']

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ gemspec

gem 'pry'
gem 'simplecov', require: false, group: :test

install_if -> { ENV.fetch('RAILS_VERSION', nil) } do
rails_version = ENV.fetch('RAILS_VERSION', nil)
gem 'actionpack', rails_version
gem 'activesupport', rails_version
end