Skip to content

Commit aeee125

Browse files
committed
Use ruby/actions/.github/workflows/ruby_versions.yml@master
1 parent 79aa330 commit aeee125

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: CI
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+
min_version: 2.6
611
test:
712
name: >-
813
${{ matrix.os }} ${{ matrix.ruby }}
@@ -12,7 +17,7 @@ jobs:
1217
matrix:
1318
# ubuntu-22.04 uses OpenSSL 3.0, ubuntu-20.04 uses OpenSSL 1.1.1
1419
os: [ ubuntu-22.04, ubuntu-20.04, macos-latest, windows-latest ]
15-
ruby: [ head, "3.1", "3.0", "2.7", "2.6" ]
20+
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
1621
exclude:
1722
# uses non-standard MSYS2 OpenSSL 3 package
1823
- { os: windows-latest, ruby: head }

0 commit comments

Comments
 (0)