Skip to content

Commit

Permalink
Try to use ruby/ruby/.github/workflows/ruby_versions.yml@master
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Feb 15, 2023
1 parent 7b6a7b1 commit 8d218b5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@ permissions: # added using https://github.com/step-security/secure-workflows
contents: read

jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
min_version: 2.2
engine: cruby-jruby
versions: '["truffleruby"]'

test:
needs: ruby-versions
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
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 ]
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
exclude:
- os: windows-latest
ruby: truffleruby
Expand Down

0 comments on commit 8d218b5

Please sign in to comment.