Skip to content

Commit 09ffff2

Browse files
committed
gem: use ruby version matrix
1 parent e1766cf commit 09ffff2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ on:
1212
jobs:
1313
build:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
ruby: ['3.3', '3.4']
1518
steps:
1619
- uses: actions/checkout@v4
1720
- uses: ruby/setup-ruby@v1
1821
with:
19-
ruby-version: 3.3
22+
ruby-version: ${{ matrix.ruby }}
2023
- name: Install Dependencies
2124
run: |
2225
gem install test-unit

.github/workflows/codecl.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
language:
2424
- ruby
2525
- c
26+
ruby: ['3.3', '3.4']
2627
steps:
2728
- name: "Checkout repository"
2829
uses: actions/checkout@v4
@@ -36,7 +37,7 @@ jobs:
3637
uses: github/codeql-action/analyze@v3
3738
- uses: ruby/setup-ruby@v1
3839
with:
39-
ruby-version: '3.3'
40+
ruby-version: ${{ matrix.ruby }}
4041
bundler-cache: true
4142
- name: "Run rufo code formatting checks"
4243
run: |

0 commit comments

Comments
 (0)