Skip to content

Bump rubocop-rspec from 2.25.0 to 2.26.1 (#7) #38

Bump rubocop-rspec from 2.25.0 to 2.26.1 (#7)

Bump rubocop-rspec from 2.25.0 to 2.26.1 (#7) #38

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