Skip to content

Commit 8d218b5

Browse files
committed
Try to use ruby/ruby/.github/workflows/ruby_versions.yml@master
1 parent 7b6a7b1 commit 8d218b5

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,20 @@ permissions: # added using https://github.com/step-security/secure-workflows
66
contents: read
77

88
jobs:
9+
ruby-versions:
10+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
11+
with:
12+
min_version: 2.2
13+
engine: cruby-jruby
14+
versions: '["truffleruby"]'
15+
916
test:
17+
needs: ruby-versions
1018
runs-on: ${{ matrix.os }}
1119
strategy:
1220
matrix:
1321
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
14-
ruby: [ 3.2, 3.1, '3.0', 2.7, 2.6, 2.5, 2.4, 2.3, 2.2, jruby, jruby-head, truffleruby, ruby-head ]
22+
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
1523
exclude:
1624
- os: windows-latest
1725
ruby: truffleruby

0 commit comments

Comments
 (0)