Skip to content

Commit 34550ad

Browse files
committed
ci test: update Ruby versions
1 parent 6f1c50f commit 34550ad

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,12 @@ jobs:
4343
bundle exec rake
4444
4545
scanner:
46+
needs: ruby-versions
4647
name: "Scanner test: Ruby ${{ matrix.ruby-version }}: ${{ matrix.runs-on }}"
4748
strategy:
4849
fail-fast: false
4950
matrix:
50-
ruby-version:
51-
- "3.1"
52-
- "3.0"
53-
- "2.7"
54-
- debug
51+
ruby-version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
5552
runs-on:
5653
- macos-latest
5754
- ubuntu-latest
@@ -85,7 +82,7 @@ jobs:
8582
- uses: actions/checkout@v4
8683
- uses: ruby/setup-ruby@v1
8784
with:
88-
ruby-version: 2.7
85+
ruby-version: ruby
8986
- name: Install
9087
run: |
9188
rake install
@@ -105,7 +102,7 @@ jobs:
105102
- uses: actions/checkout@v4
106103
- uses: ruby/setup-ruby@v1
107104
with:
108-
ruby-version: 2.7
105+
ruby-version: ruby
109106
bundler-cache: true
110107
- name: Build document
111108
run: |

0 commit comments

Comments
 (0)