diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ed36dc..db4e360 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -13,21 +19,20 @@ jobs: matrix: os: - ubuntu-20.04 - - ubuntu-18.04 - - macos-11.0 - - macos-10.15 + - ubuntu-22.04 + - 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 } + - { os: ubuntu-latest , ruby: jruby-9.3 } # Ruby 2.7 + exclude: + - { os: windows-latest, ruby: truffleruby } + - { os: windows-latest, ruby: truffleruby-head } + - { os: windows-latest, ruby: jruby } + - { os: windows-latest, ruby: jruby-head } steps: - uses: actions/checkout@v2 @@ -52,4 +57,4 @@ jobs: - run: rake build - run: gem install pkg/*.gem - + if: ${{ matrix.ruby != '3.2' }} |