Skip to content

[FEAT] Add support for rails 7 #178

[FEAT] Add support for rails 7

[FEAT] Add support for rails 7 #178

Workflow file for this run

name: Ruby
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby-version: 3.2
- ruby-version: 3.1
- ruby-version: 3.0
- ruby-version: 2.7
- ruby-version: 2.7
gemfile: gemfiles/rails_5.0.gemfile
- ruby-version: 2.7
gemfile: gemfiles/rails_5.1.gemfile
- ruby-version: 2.7
gemfile: gemfiles/rails_5.2.gemfile
- ruby-version: 3.2
gemfile: gemfiles/rails_6.0.gemfile
- ruby-version: 3.2
gemfile: gemfile/rails_7.0.gemfile
- ruby-version: 3.2
gemfile: gemfile/rails_7.1.gemfile
- ruby-version: 3.2
gemfile: gemfile/rails_7.2.gemfile
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Build and test
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
BUNDLER: ${{ matrix.bundler-version }}
run: |
gem uninstall bundler
gem install bundler -v ${BUNDLER:-2.1.4}
bundle install --jobs 4 --retry 3
bundle exec rake