Skip to content

Commit

Permalink
Merge pull request #22 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 ae87372 + 4beba42 commit c4132f9
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
name: ubuntu
name: test

on: [push, pull_request]

jobs:
build:
ruby-verions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
min_version: 2.6

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

0 comments on commit c4132f9

Please sign in to comment.