Dropped support for Ruby < 3.1 and Rails < 7 #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- ruby: 3.3 | |
gemfile: gemfiles/rails80.gemfile | |
- ruby: 3.3 | |
gemfile: Gemfile | |
- ruby: 3.2 | |
gemfile: gemfiles/rails71.gemfile | |
- ruby: 3.1 | |
gemfile: gemfiles/rails70.gemfile | |
env: | |
BUNDLE_GEMFILE: ${{ matrix.gemfile }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: bundle exec rake compile | |
- run: bundle exec rake test | |
- uses: ankane/setup-postgres@v1 | |
- run: ADAPTER=postgresql bundle exec rake test | |
- uses: ankane/setup-mysql@v1 | |
- run: ADAPTER=mysql2 bundle exec rake test | |
- run: ADAPTER=trilogy bundle exec rake test |