Skip to content

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

jsonapi-authorization working with Rails 6.1; Ruby 3.1

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

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
gemfile:
- rails_6_0_pundit_2.gemfile
- rails_6_1_pundit_2.gemfile
name: Ruby ${{ matrix.ruby }} Gemfile ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Setup Gemfile
run: cp ./gemfiles/#{{ matrix.gemfile }} ./Gemfile
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rspec