Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ name: build

on:
push:
branches: [main]
pull_request:
schedule:
- cron: '20 5 * * 1'
workflow_dispatch:

jobs:
test:

runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

strategy:
fail-fast: false
Expand All @@ -24,16 +26,21 @@ jobs:
- "2.7"
- "2.6"
- "2.5"
- "2.4"
- "2.3"
- "jruby-9.4.3.0"
- "jruby-9.2.14.0"
- "truffleruby-23.0.0"
- "truffleruby-22.1.0"
- "truffleruby"
rack-version:
- "" # default Rack version

exclude:
# RubyGems on Ruby 2.5 ignores rack's required_ruby_version and
# installs a Rack that no longer runs on 2.5 — test it with a
# compatible Rack pinned below instead
- ruby-version: "2.5"
rack-version: ""

include:
- ruby-version: "2.5"
rack-version: "~>2.2"

- ruby-version: "2.7"
rack-version: "~>1.2.0"
- ruby-version: "2.7"
Expand Down Expand Up @@ -61,7 +68,7 @@ jobs:
rack-version: "~>3.0.0"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7

- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
Expand Down