Skip to content

Fix broken workflows. #12

Fix broken workflows.

Fix broken workflows. #12

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
jobs:
test:
name: ${{matrix.ruby}} ${{matrix.gemfile}}
runs-on: ${{matrix.os}}-latest
continue-on-error: ${{matrix.experimental}}
env:
BUNDLE_GEMFILE: ${{matrix.gemfile}}
strategy:
matrix:
experimental: [false]
os:
- ubuntu
ruby:
- 2.5
- 2.6
- 2.7
- 3.0
- 3.1
- 3.2
- 3.3
gemfile: ["Gemfile"]
include:
- experimental: false
os: macos
ruby: 3.3
gemfile: gems/rack-v2.rb
- experimental: true
os: ubuntu
ruby: head
gemfile: gems/rack-v2.rb
- experimental: true
os: ubuntu
ruby: 2.7
gemfile: gems/rack-v1.rb
- experimental: true
os: ubuntu
ruby: 3.2
gemfile: gems/rack-v2.rb
# enable when rack v3 is supported
# - experimental: true
# os: ubuntu
# ruby: 3.2
# env: BUNDLE_GEMFILE=gems/rack-head.rb
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Run tests
run: bundle exec rake