Skip to content

Add support for Rails 8.1. Drop support for Rails 7.0, 7.1 and Ruby 3… #35

Add support for Rails 8.1. Drop support for Rails 7.0, 7.1 and Ruby 3…

Add support for Rails 8.1. Drop support for Rails 7.0, 7.1 and Ruby 3… #35

Workflow file for this run

name: tests
on:
push:
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run rubocop
run: bundle exec rubocop --parallel --extra-details --display-style-guide
tests:
strategy:
fail-fast: false
matrix:
ruby-version: ["3.2", "3.3", "3.4", "4.0"]
rails-version: ["7.2", "8.0", "8.1"]
runs-on: ubuntu-latest
env:
RAILS_VERSION: ${{ matrix.rails-version }}
steps:
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: "${{ matrix.ruby-version }}"
- name: Run tests
run: bundle exec rspec --format RSpec::Github::Formatter