Skip to content

Bump rubocop-factory_bot from 2.24.0 to 2.25.1 #45

Bump rubocop-factory_bot from 2.24.0 to 2.25.1

Bump rubocop-factory_bot from 2.24.0 to 2.25.1 #45

Workflow file for this run

name: "Main"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
env:
RAILS_ENV: test
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Ruby and Gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Set up database
run: bin/rails db:setup
- name: Precompile assets
run: bundle exec rake assets:precompile
- name: Run tests
run: bundle exec rspec
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Rubocop
run: bundle exec rubocop --parallel