Skip to content

Merge pull request #139 from comma-csv/dependabot/bundler/activesuppo… #107

Merge pull request #139 from comma-csv/dependabot/bundler/activesuppo…

Merge pull request #139 from comma-csv/dependabot/bundler/activesuppo… #107

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
ruby: ['2.5', '2.6', '2.7', '3.0']
gemfile: ['active6.0.3.6', 'active6.1.3.1', 'rails6.0.3.6', 'rails6.1.3.1']
include:
- ruby: '2.5'
gemfile: active5.2.5
- ruby: '2.6'
gemfile: active5.2.5
- ruby: '2.7'
gemfile: active5.2.5
- ruby: '2.5'
gemfile: rails5.2.5
- ruby: '2.6'
gemfile: rails5.2.5
- ruby: '2.7'
gemfile: rails5.2.5
- ruby: '2.7'
gemfile: active7.0.0
- ruby: '3.0'
gemfile: active7.0.0
- ruby: '2.7'
gemfile: rails7.0.0
- ruby: '3.0'
gemfile: rails7.0.0
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
RUBY_OPT: --disable=did_you_mean
services:
mongodb:
image: mongo:4.4.10
ports:
- 8081:8081
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
cache-version: 1
- run: bundle install --jobs 2 --retry 3
- run: bundle exec rubocop -P
- run: bundle exec rspec -f d spec