Skip to content

Refactor ProfilePolicy::Scope #435

Refactor ProfilePolicy::Scope

Refactor ProfilePolicy::Scope #435

Workflow file for this run

name: Check Code
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
- run: bundle install
- name: Rubocop
run: bundle exec rubocop
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
- run: docker-compose run web bundle exec rake db:test:prepare
- name: RSpec
run: docker-compose run -e CI=true web bundle exec rspec
- run: docker-compose down