diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-08 13:49:17 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 13:49:17 +0900 |
commit | 97558653ca0732410dca0a2963d074d50e8a9117 (patch) | |
tree | 1dbaf22042f7252c4d5d58ae38a6d190d6fd2564 /.github/workflows | |
parent | 6447b451a805a0f2487ef881cd99c9171a767ccf (diff) | |
parent | 811f2f455dcb7516746793506edb3c330b26a81d (diff) | |
download | json-97558653ca0732410dca0a2963d074d50e8a9117.tar.gz |
Merge pull request #521 from flori/update-ci
Update CI matrix
Diffstat (limited to '.github/workflows')
-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' }} |