Add models and helpers for multi tenancy #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [pull_request] | |
name: Pronto | |
jobs: | |
linters: | |
name: Linters | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: [3.3] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- run: | | |
git fetch --no-tags --prune --depth=10 origin +refs/heads/*:refs/remotes/origin/* | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
- name: Ruby gem cache | |
uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-gems- | |
- name: Setup pronto | |
run: gem install pronto pronto-rubocop | |
- name: Install gems | |
run: | | |
bundle config path vendor/bundle | |
bundle install --jobs 4 --retry 3 | |
- name: Run Pronto | |
run: bundle exec pronto run -f github_status github_pr -c origin/${{ github.base_ref }} | |
env: | |
PRONTO_PULL_REQUEST_ID: ${{ github.event.pull_request.number }} | |
PRONTO_GITHUB_ACCESS_TOKEN: "${{ github.token }}" |