Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI matrix #521

Merged
merged 5 commits into from
Mar 8, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Switch to use ruby_versions callable workflow
  • Loading branch information
hsbt committed Mar 8, 2023
commit c75b63937ffa4a8f5751c9a2717f0a287377d818
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ on:
- pull_request

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

host:
needs: ruby-versions
name: ${{ matrix.os }} ${{ matrix.ruby }}
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -17,17 +23,13 @@ jobs:
- macos-11
- macos-12
- windows-latest
ruby:
- '3.0'
- 2.7
- 2.6
- 2.5
- 2.4
- 2.3
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
include:
- { os: ubuntu-latest , ruby: jruby-9.1 } # Ruby 2.3
- { os: ubuntu-latest , ruby: jruby-9.2 } # Ruby 2.5
- { os: ubuntu-latest , ruby: truffleruby }
exclude:
- { os: windows-latest, ruby: truffleruby }
- { os: windows-latest, ruby: truffleruby-head }

steps:
- uses: actions/checkout@v2
Expand Down