Skip to content

Add latest Rails and Ruby versions to CI #198

Add latest Rails and Ruby versions to CI

Add latest Rails and Ruby versions to CI #198

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: Test on Ruby ${{ matrix.ruby }} and Rails ${{ matrix.rails }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ["3.0", "3.1", "3.2", "3.3", "3.4", head]
rails: ["6.1.0", "7.0.0", "7.1.0", "7.2.0", "8.0.0"]
env:
RAILS_VERSION: ${{ matrix.rails }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Run Rake
run: bundle exec rake