Skip to content

Add Ruby 3.4 and Rails 8.0 to CI matrix #54

Add Ruby 3.4 and Rails 8.0 to CI matrix

Add Ruby 3.4 and Rails 8.0 to CI matrix #54

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
jobs:
rspec:
runs-on: ubuntu-latest
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
strategy:
fail-fast: false
matrix:
ruby: ["3.1", "3.2", "3.3", "3.4"]
gemfile: ["rails71", "rails72", "rails80"]
exclude:
# rails 8.0: support ruby 3.2+
- ruby: "3.1"
gemfile: "rails80"
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run rspec
run: bundle exec rspec