Skip to content

Merge pull request #44 from keypup-io/dependabot/bundler/examples/sin… #149

Merge pull request #44 from keypup-io/dependabot/bundler/examples/sin…

Merge pull request #44 from keypup-io/dependabot/bundler/examples/sin… #149

name: Ruby 2.5/2.6
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- '2.5.9'
- '2.6.7'
appraisal:
- 'rails-5.2'
- 'rails-6.0'
- 'rails-6.1'
- 'semantic_logger-3.4'
- 'semantic_logger-4.6'
- 'semantic_logger-4.7.0'
- 'semantic_logger-4.7.2'
steps:
- uses: actions/checkout@v2
- uses: zhulik/[email protected]
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Build and test with Rake
env:
APPRAISAL_CONTEXT: ${{ matrix.appraisal }}
run: |
gem install bundler -v 2.3.26
bundle install --jobs 4 --retry 3
bundle exec appraisal ${APPRAISAL_CONTEXT} bundle
bundle exec appraisal ${APPRAISAL_CONTEXT} rspec