Skip to content

allow Rails 6.1

allow Rails 6.1 #11

Workflow file for this run

name: CI
on:
push:
branches: [ '*' ]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.7.6']
env:
NOKOGIRI_USE_SYSTEM_LIBRARIES: true
steps:
- uses: actions/checkout@v2
- name: Add --no-document option to .gemrc file to speed up bundle install
run: "echo 'gem: --no-document' > ~/.gemrc"
- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: 'adopt-hotspot'
java-version: '8'
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rspec spec/unit