Skip to content

Add Ruby >= 3.2 support #33

Add Ruby >= 3.2 support

Add Ruby >= 3.2 support #33

Workflow file for this run

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rails: ['~> 7.0.0', '~> 7.1.0', '~> 7.2.0', '~> 8.0.0']
ruby: ['3.0', '3.1', '3.2', '3.3', '3.4']
include:
- { rails: '~> 4.2.0', ruby: '2.4' }
- { rails: '~> 5.1.0', ruby: '2.4' }
- { rails: '~> 5.2.0', ruby: '2.5' }
- { rails: '~> 5.2.0', ruby: '2.6' }
- { rails: '~> 6.0.0', ruby: '2.5' }
- { rails: '~> 6.0.0', ruby: '2.6' }
- { rails: '~> 6.0.0', ruby: '2.7' }
- { rails: '~> 6.1.0', ruby: '2.6' }
- { rails: '~> 6.1.0', ruby: '2.7' }
- { rails: '~> 7.0.0', ruby: '2.7' }
- { rails: '~> 7.1.0', ruby: '2.7' }
exclude:
- { rails: '~> 7.2.0', ruby: '3.0' }
- { rails: '~> 8.0.0', ruby: '3.0' }
- { rails: '~> 8.0.0', ruby: '3.1' }
steps:
- uses: actions/checkout@v5
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: gem install bundler -v 1.17.3
if: matrix.ruby == 2.4
- run: bundle ${{ matrix.ruby == '2.4' && '_1.17.3_' || '' }} install
env:
RAILS_VERSION: ${{ matrix.rails }}
- run: bundle exec rspec
env:
RAILS_VERSION: ${{ matrix.rails }}