Skip to content

Bump ActiveRecord supported versions to >= 7 and < 9 #625

Bump ActiveRecord supported versions to >= 7 and < 9

Bump ActiveRecord supported versions to >= 7 and < 9 #625

Workflow file for this run

name: CI
on:
push:
paths-ignore:
- "README.md"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: "3.3.6"
- run: bundle exec rubocop
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
[
{ version: "3.1", gemfile: activerecord_7 },
{ version: "3.1", gemfile: activerecord_7_1 },
{ version: "3.1", gemfile: activerecord_7_2 },
{ version: "3.2", gemfile: activerecord_7 },
{ version: "3.2", gemfile: activerecord_7_1 },
{ version: "3.2", gemfile: activerecord_7_2 },
{ version: "3.2", gemfile: activerecord_8 },
{ version: "3.2", gemfile: activerecord_main },
{ version: "3.3", gemfile: activerecord_7 },
{ version: "3.3", gemfile: activerecord_7_1 },
{ version: "3.3", gemfile: activerecord_7_2 },
{ version: "3.3", gemfile: activerecord_8 },
{ version: "3.3", gemfile: activerecord_main },
]
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.ruby.gemfile }}.gemfile
BUNDLE_PATH_RELATIVE_TO_CWD: true
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby.version }}
- run: bundle exec rake test