Skip to content

Commit

Permalink
Add support for Rails 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Jan 1, 2021
1 parent 91f1df2 commit dc8fc53
Showing 1 changed file with 23 additions and 28 deletions.
51 changes: 23 additions & 28 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,17 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby_version: [
2.7.1,
2.6.5,
2.5.7,
2.4.9,
2.3.8,
jruby
]
gemfile: [
Gemfile,
gemfiles/Gemfile.rails-5.0.x,
gemfiles/Gemfile.rails-5.1.x,
gemfiles/Gemfile.rails-5.2.x,
gemfiles/Gemfile.rails-6.0.x,
gemfiles/Gemfile.rails-master
]
ruby_version: [2.7.1, 2.6.5, 2.5.7, 2.4.9, 2.3.8, jruby]
gemfile:
[
Gemfile,
gemfiles/Gemfile.rails-5.0.x,
gemfiles/Gemfile.rails-5.1.x,
gemfiles/Gemfile.rails-5.2.x,
gemfiles/Gemfile.rails-6.0.x,
gemfiles/Gemfile.rails-6.1.x,
gemfiles/Gemfile.rails-master,
]
exclude:
# Ruby 2.4.x is not supported by Rails master
- ruby_version: 2.4.9
Expand All @@ -51,15 +46,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: eregon/use-ruby-action@master
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Build and test with Rake
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake
- uses: actions/checkout@v2
- name: Set up Ruby
uses: eregon/use-ruby-action@master
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Build and test with Rake
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake

0 comments on commit dc8fc53

Please sign in to comment.