Skip to content

Commit

Permalink
Use reusing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Sep 11, 2023
1 parent c4e15f4 commit 0f7e2f1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@ name: test
on: [push, pull_request]

jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby-truffleruby
min_version: 2.7

build:
needs: ruby-versions
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
matrix:
ruby: [ 3.1, '3.0', 2.7, head, truffleruby-head ]
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ ubuntu-latest, macos-latest, windows-latest ]
include:
- ruby: mswin
Expand Down

0 comments on commit 0f7e2f1

Please sign in to comment.