Skip to content

build(deps-dev): bump webmock from 3.23.1 to 3.24.0 #7363

build(deps-dev): bump webmock from 3.23.1 to 3.24.0

build(deps-dev): bump webmock from 3.23.1 to 3.24.0 #7363

name: factory bot lint
on:
push:
paths-ignore:
- 'doc/**'
- '*.md'
- 'bin/*'
pull_request:
paths-ignore:
- 'doc/**'
- '*.md'
- 'bin/*'
jobs:
factory_bot_lint:
runs-on: ubuntu-latest
services:
db:
image: postgres:12.3
env:
POSTGRES_PASSWORD: password
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Install PostgreSQL client
run: |
sudo apt-get -yqq install libpq-dev
- name: Build App
env:
POSTGRES_HOST: localhost
DATABASE_HOST: localhost
PG_USERNAME: postgres
PG_PASSWORD: password
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PORT: 5432
run: |
bundle exec rake db:create
bundle exec rake db:schema:load
- name: Run factory_bot:lint
env:
POSTGRES_HOST: localhost
DATABASE_HOST: localhost
PG_USERNAME: postgres
PG_PASSWORD: password
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PORT: 5432
PGHOST: localhost
PGUSER: postgres
RAILS_ENV: test
run: bundle exec rake factory_bot:lint