Skip to content

Commit

Permalink
Use ruby/actions/.github/workflows/ruby_versions.yml@master
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Feb 16, 2023
1 parent 79aa330 commit aeee125
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: CI
on: [push, pull_request]

jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
min_version: 2.6
test:
name: >-
${{ matrix.os }} ${{ matrix.ruby }}
Expand All @@ -12,7 +17,7 @@ jobs:
matrix:
# ubuntu-22.04 uses OpenSSL 3.0, ubuntu-20.04 uses OpenSSL 1.1.1
os: [ ubuntu-22.04, ubuntu-20.04, macos-latest, windows-latest ]
ruby: [ head, "3.1", "3.0", "2.7", "2.6" ]
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
exclude:
# uses non-standard MSYS2 OpenSSL 3 package
- { os: windows-latest, ruby: head }
Expand Down

0 comments on commit aeee125

Please sign in to comment.