-
-
Notifications
You must be signed in to change notification settings - Fork 23
41 lines (34 loc) · 844 Bytes
/
ci.yml
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
33
34
35
36
37
38
39
40
41
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
min_version: 2.7
test:
needs: ruby-versions
strategy:
fail-fast: false
matrix:
os: [ubuntu]
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
name: >-
${{matrix.os}}:ruby-${{matrix.ruby}}
runs-on: ${{matrix.os}}-latest
continue-on-error: ${{matrix.ruby == 'head' || matrix.ruby == 'jruby'}}
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up ruby and bundle
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Run rake
run: |
bundle exec rake