Skip to content

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

jsonapi-authorization working with Rails 6.1; Ruby 3.1

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

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:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails }}.gemfile
name: Ruby ${{ matrix.ruby }} Rails ${{ matrix.rails }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler: default
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
rubygems: latest
- name: Install dependencies
run: "bundle install --jobs 4 --retry 3"
- name: Run tests
run: "bundle exec rspec"