Skip to content

Merge pull request #59 from envato/jaf/fix-changelog #58

Merge pull request #59 from envato/jaf/fix-changelog

Merge pull request #59 from envato/jaf/fix-changelog #58

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.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.6", gemfile: "faraday_2.9.0" }
- { ruby: "2.7", gemfile: "faraday_2.9.0" }
- { ruby: "2.6", gemfile: "faraday_2.10.0" }
- { ruby: "2.7", gemfile: "faraday_2.10.0" }
- { ruby: "3.3", gemfile: "rack_2.1.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