Skip to content

Commit 0b3e4d4

Browse files
committed
use ruby/actions/.github/workflows/ruby_versions.yml
1 parent 18fb84d commit 0b3e4d4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@ on:
77
schedule:
88
- cron: '34 18 * * *'
99
jobs:
10+
ruby-versions:
11+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
1012
rake-test:
13+
needs: ruby-versions
1114
strategy:
1215
fail-fast: false
1316
matrix:
1417
os: [ubuntu-latest, macos-latest, windows-latest]
15-
ruby: [head, 3.1, 3.0, 2.7, 2.6, jruby, truffleruby]
18+
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
1619
exclude:
1720
- os: windows-latest
1821
ruby: jruby

0 commit comments

Comments
 (0)