Skip to content

Commit

Permalink
Use reusing workflow for Ruby versions
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jan 5, 2024
1 parent 5ff2026 commit 03d1418
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ on:
- push
- pull_request
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby-jruby
min_version: 2.5

inplace:
needs: ruby-versions
name: "Inplace: ${{ matrix.ruby-version }} on ${{ matrix.runs-on }}"
runs-on: ${{ matrix.runs-on }}
strategy:
Expand All @@ -13,15 +20,7 @@ jobs:
- ubuntu-latest
- macos-latest
- windows-latest
ruby-version:
- "2.5"
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
- jruby
ruby-version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
# include:
# - runs-on: ubuntu-latest
# ruby-version: truffleruby
Expand Down

0 comments on commit 03d1418

Please sign in to comment.