Skip to content

Pin gems in rails-4.2 gemfile #27

Pin gems in rails-4.2 gemfile

Pin gems in rails-4.2 gemfile #27

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.3", gemfile: "rails-4.2", bundler: "1" }
- { ruby: "2.4", gemfile: "rails-4.2", bundler: "1" }
- { 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@v2
# 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