Skip to content

chore(deps-dev): bump rubocop-ast from 1.32.3 to 1.33.1 #68

chore(deps-dev): bump rubocop-ast from 1.32.3 to 1.33.1

chore(deps-dev): bump rubocop-ast from 1.32.3 to 1.33.1 #68

Workflow file for this run

name: RSpec
on:
pull_request:
push:
branches: [main]
jobs:
rspec:
runs-on: ubuntu-latest
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432
services:
postgres:
image: postgres:16.3
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
options:
--health-cmd="pg_isready" --health-interval=10s --health-timeout=5s
--health-retries=3
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Set up database
working-directory: spec/example
run: |
bin/rails db:create
bin/rails db:schema:load
- name: Run RuboCop
run: bundle exec rubocop
- name: Run specs
run: bundle exec rspec