Skip to content

Bump to v2.2.0 adding support for Rack 3 #24

Bump to v2.2.0 adding support for Rack 3

Bump to v2.2.0 adding support for Rack 3 #24

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
min_version: 2.5
test:
needs: ruby-versions
# From https://docs.github.com/en/actions/guides/creating-redis-service-containers
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
strategy:
fail-fast: false
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ubuntu-latest]
rack: [2, 3]
name: "Test Ruby: ${{ matrix.ruby }} Rack: ${{ matrix.rack }} OS: ${{ matrix.os }}"
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rack${{ matrix.rack }}.gemfile
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Run tests & lint
run: bundle exec rake