Skip to content

Dropping Rails 4 from build matrix #28

Dropping Rails 4 from build matrix

Dropping Rails 4 from build matrix #28

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["2.7", "3.0"]
bundler: [default]
gemfile:
- rails-6.0
- rails-6.1
- rails-7.0
include:
- { ruby: "2.5", gemfile: "rails-5.2", bundler: "default" }
- { ruby: "2.6", gemfile: "rails-5.2", bundler: "default" }
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
# https://github.com/marketplace/actions/checkout
- uses: actions/checkout@v4
# https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: ${{ matrix.bundler }}
bundler-cache: true # runs `bundle install` and caches gems automatically
- name: Run tests
run: bundle exec rake