Skip to content

Commit

Permalink
Use reusing workflow (#289)
Browse files Browse the repository at this point in the history
This is alternative approach for #288
  • Loading branch information
hsbt authored Oct 5, 2023
1 parent af64a15 commit 4f7af0a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@ on:
- pull_request

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

in-place:
needs: ruby-versions
name: "In-place test: Ruby ${{ matrix.ruby-version }}: ${{ matrix.runs-on }}"
strategy:
fail-fast: false
matrix:
ruby-version:
- "3.1"
- "3.0"
- "2.7"
- "2.6"
- "2.5"
- debug
ruby-version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
runs-on:
- macos-latest
- ubuntu-latest
Expand Down

0 comments on commit 4f7af0a

Please sign in to comment.