Skip to content

Bump nokogiri from 1.10.10 to 1.16.2 #108

Bump nokogiri from 1.10.10 to 1.16.2

Bump nokogiri from 1.10.10 to 1.16.2 #108

Workflow file for this run

name: Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11.6-alpine
env:
POSTGRES_PASSWORD: password
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Ruby version specified in `.ruby-version`
uses: ruby/setup-ruby@v1
with:
working-directory: './spec/dummy-app'
- name: Install required apt packages
run: |
sudo apt-get -y install libpq-dev
- name: Setup cache key and directory for gems cache
uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-use-ruby-${{ hashFiles('**/Gemfile.lock') }}
- name: Bundle install
run: |
bundle config path vendor/bundle
cd spec/dummy-app/
bundle install --jobs 4 --retry 3
- name: Rails test
run: |
cd spec/dummy-app/
bundle exec rails db:setup
bundle exec rspec