Skip to content

Commit 1abe9d6

Browse files
committed
Use ruby/actions/.github/workflows/ruby_versions.yml@master
1 parent c49a5e3 commit 1abe9d6

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@ name: build
33
on: [push, pull_request]
44

55
jobs:
6+
ruby-versions:
7+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
8+
with:
9+
engine: cruby
10+
611
test:
12+
needs: ruby-versions
713
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
814
strategy:
915
matrix:
10-
ruby: [ 2.7, '3.0', 3.1, 3.2, head ]
16+
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
1117
os: [ ubuntu-latest, macos-latest, windows-latest ]
1218
exclude:
1319
- { os: windows-latest , ruby: head }

0 commit comments

Comments
 (0)