Skip to content

Remove versões do ruby não compativel com o i-Diário #3

Remove versões do ruby não compativel com o i-Diário

Remove versões do ruby não compativel com o i-Diário #3

Workflow file for this run

name: CI
on:
push:
pull_request_target:
schedule:
- cron: "6 20 * * 6"
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- "2.5.0"
- "2.5"
- "2.6.0"
- "2.6"
steps:
- uses: actions/checkout@v1
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Gems cache
uses: actions/cache@v2
with:
path: ~/gems
key: gems-${{ matrix.ruby }}-${{ hashFiles('*.gemspec', 'Gemfile') }}-${{ github.sha }}
restore-keys: |
gems-${{ matrix.ruby }}-${{ hashFiles('*.gemspec', 'Gemfile') }}-
gems-${{ matrix.ruby }}-
- name: Install dependencies
run: |
gem install bundler
bundle config path ~/gems
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake