Skip to content

update supported versions of gems to 3 latest #44

update supported versions of gems to 3 latest

update supported versions of gems to 3 latest #44

Workflow file for this run

---
name: tests
on: [ push, pull_request ]
jobs:
test:
name: Test (Ruby ${{ matrix.ruby }} on ${{ matrix.gemfile }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3' ]
gemfile: [ 'faraday_1.10.0', 'faraday_2.8.0', 'faraday_2.9.0', 'faraday_2.10.0', 'jwt_1.5.0', 'jwt_2.6.0', 'jwt_2.7.0', 'jwt_2.8.0', 'rack_2.1.0', 'rack_2.2.0', 'rack_3.0.0', 'rack_3.1.0' ]
exclude:
- { ruby: '2.4', gemfile: 'faraday_2.8.0' }
- { ruby: '2.4', gemfile: 'faraday_2.9.0' }
- { ruby: '2.4', gemfile: 'faraday_2.10.0' }
- { ruby: '2.4', gemfile: 'jwt_2.6.0' }
- { ruby: '2.4', gemfile: 'jwt_2.7.0' }
- { ruby: '2.4', gemfile: 'jwt_2.8.0' }
- { ruby: '2.5', gemfile: 'faraday_2.8.0' }
- { ruby: '2.5', gemfile: 'faraday_2.9.0' }
- { ruby: '2.5', gemfile: 'faraday_2.10.0' }
- { ruby: '3.0', gemfile: 'faraday_1.10.0' }
- { ruby: '3.1', gemfile: 'faraday_1.10.0' }
- { ruby: '3.2', gemfile: 'faraday_1.10.0' }
- { ruby: '3.3', gemfile: 'faraday_1.10.0' }
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: RSpec
run: bundle exec rspec