Skip to content

Commit

Permalink
ci: use ruby-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 18, 2024
1 parent 45b00ae commit 3a58d86
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@ on:
- push
- pull_request
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
min_version: 2.7
run:
needs: ruby-versions
strategy:
fail-fast: false
matrix:
ruby-version:
- "2.7"
- "3.0"
- "3.1"
- truffleruby-head
ruby-version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
runs-on:
- ubuntu-latest
- macos-latest
- windows-latest
exclude:
- { ruby-version: truffleruby-head, runs-on: windows-latest }
- { ruby-version: truffleruby, runs-on: windows-latest }
- { ruby-version: truffleruby-head, runs-on: windows-latest }
name: ${{ matrix.ruby-version}} on ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
steps:
Expand Down

0 comments on commit 3a58d86

Please sign in to comment.