Skip to content

Upgrade to work with Rails 8 #61

Upgrade to work with Rails 8

Upgrade to work with Rails 8 #61

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

Invalid type for `job.strategy`
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: Tests with Ruby ${{ matrix.ruby-version }} Rails ${{ matrix.rails }}
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- 2.7
- '3.0'
- 3.1
- 3.2
- 3.3
rails:
- '6.1.5'
- '7.0.2.3'
- '7.1.0'
- '7.2.0'
- '8.0.0'
exclude:
- ruby-version: 2.7
rails: '7.2.0'
rails: '8.0.0'
- ruby-version: '3.0'
rails: '7.2.0'
rails: '8.0.0'
env:
RAILS_VERSION: ${{ matrix.rails }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: |
bundle exec rake