Skip to content

chore(deps): bump nokogiri from 1.17.2 to 1.18.1 #1144

chore(deps): bump nokogiri from 1.17.2 to 1.18.1

chore(deps): bump nokogiri from 1.17.2 to 1.18.1 #1144

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- run: bundle exec rubocop
test:
needs: lint
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
services:
postgres:
image: postgres:14.8-alpine3.18
env:
POSTGRES_USER: app
POSTGRES_PASSWORD: password
POSTGRES_DB: feed_the_hungry_test
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
redis:
image: redis:alpine
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- run: |
export DATABASE_URL=postgres://app:password@localhost:5432/feed_the_hungry_test
export REDIS_URL=redis://localhost:6379
bundle exec rake db:reset HANAMI_ENV=test
bundle exec rake spec
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}