Skip to content

Commit

Permalink
Merge pull request #86 from ruby/improve-actions
Browse files Browse the repository at this point in the history
Improve actions
  • Loading branch information
hsbt authored Feb 18, 2023
2 parents 7aabb0b + 644906e commit 42448f5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@ name: test
on: [push, pull_request]

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

test:
needs: ruby-versions
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
matrix:
ruby: [ 3.2, 3.1, '3.0', 2.7, 2.6, 2.5, head ]
os: [ ubuntu-latest, macos-latest ]
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 42448f5

Please sign in to comment.