Skip to content

jsonapi-authorization working with Rails 6.1; Ruby 3.1 #3

jsonapi-authorization working with Rails 6.1; Ruby 3.1

jsonapi-authorization working with Rails 6.1; Ruby 3.1 #3

Workflow file for this run

name: CI
on:
pull_request:
branches: ['**']
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- 2.7.5
- 3.1.6
rails:
- 6.0
- 6.1
env:
APPRAISAL_CMD: "appraisal rails_${{ matrix.rails }}_pundit_2"
name: Ruby ${{ matrix.ruby }} Rails ${{ matrix.rails }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install appraisal
run: gem install appraisal
- name: Install dependencies
run: "$APPRAISAL_CMD bundle install --jobs 4 --retry 3"
- name: Run tests
run: "$APPRAISAL_CMD rake test"