Skip to content

CI: Add Ruby 4.0 to CI Matrix #10

CI: Add Ruby 4.0 to CI Matrix

CI: Add Ruby 4.0 to CI Matrix #10

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }} / Rack ${{ matrix.rack_version }}
strategy:
matrix:
ruby:
- '4.0'
- '3.4'
- '3.3'
- '3.2'
- '3.1'
- '3.0'
- '2.7'
rack_version: ['3', '2']
env:
RACK_VERSION: ${{ matrix.rack_version }}
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake