-
Notifications
You must be signed in to change notification settings - Fork 45
32 lines (32 loc) · 699 Bytes
/
ci.yml
File metadata and controls
32 lines (32 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI
on:
- push
- pull_request
jobs:
test:
name: Ruby ${{ matrix.ruby }} & Rack ${{ matrix.rack }}
runs-on: 'ubuntu-latest'
strategy:
matrix:
ruby:
- '3.2'
- '3.1'
- '3.0'
- '2.7'
- '2.6'
rack:
- '1.6'
- '2.0'
- '2.1'
- '2.2'
- '3.0'
fail-fast: false
env:
BUNDLE_GEMFILE: "gemfiles/rack_${{ matrix.rack }}.gemfile"
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # 'bundle install' and cache
- run: bundle exec rake