Skip to content

Commit e5b9050

Browse files
authored
chore: Add Ruby 3.1 and TruffleRuby to the CI matrix (#129)
1 parent 3e5da5e commit e5b9050

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/workflows/conformance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
ruby-version: ["2.5", "2.6", "2.7", "3.0"]
15+
ruby-version: ["2.5", "2.6", "2.7", "3.0", "3.1"]
1616
steps:
1717
- name: Checkout code
1818
uses: actions/checkout@v2

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
steps:
1515
- name: Checkout repo
1616
uses: actions/checkout@v2
17-
- name: Install Ruby 2.7
17+
- name: Install Ruby 3.0
1818
uses: ruby/setup-ruby@v1
1919
with:
20-
ruby-version: "2.7"
20+
ruby-version: "3.0"
2121
- name: Install dependencies
2222
run: "bundle install && gem install --no-document toys"
2323
- name: Lint

.github/workflows/unit.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,23 @@ jobs:
2525
- os: ubuntu-latest
2626
ruby: "3.0"
2727
flags: "--only --test-unit"
28+
- os: ubuntu-latest
29+
ruby: "3.1"
30+
flags: "--only --test-unit"
2831
- os: ubuntu-latest
2932
ruby: jruby
3033
flags: "--only --test-unit"
34+
- os: ubuntu-latest
35+
ruby: truffleruby
36+
flags: "--only --test-unit"
3137
- os: macos-latest
32-
ruby: "2.7"
38+
ruby: "3.0"
3339
flags: "--only --test-unit"
3440
- os: windows-latest
35-
ruby: "2.7"
41+
ruby: "3.0"
3642
flags: "--only --test-unit"
3743
- os: ubuntu-latest
38-
ruby: "2.7"
44+
ruby: "3.0"
3945
flags: "--only --test-yardoc --test-build --test-examples"
4046
fail-fast: false
4147
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)