From 21b8186dc4cd21bc5ed7c50c8400645a2fa89b37 Mon Sep 17 00:00:00 2001 From: ima1zumi Date: Tue, 26 Dec 2023 19:39:34 +0900 Subject: [PATCH] Add Ruby 3.3 to CI --- .github/workflows/reline.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reline.yml b/.github/workflows/reline.yml index 577d9fc04e..e2eaa0f9bb 100644 --- a/.github/workflows/reline.yml +++ b/.github/workflows/reline.yml @@ -7,14 +7,21 @@ on: - cron: "30 14 * * *" jobs: + ruby-versions: + uses: ruby/actions/.github/workflows/ruby_versions.yml@master + with: + engine: cruby + min_version: 2.6 + reline: + needs: ruby-versions name: >- reline ${{ matrix.os }} ${{ matrix.ruby }} runs-on: ${{ matrix.os }} strategy: matrix: + ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} os: [ ubuntu-latest, macos-latest, windows-latest ] - ruby: [ 'head', '3.2', '3.1', '3.0', '2.7', '2.6' ] timeout-minutes: 30 steps: - uses: actions/checkout@v4 @@ -60,13 +67,16 @@ jobs: run: bundle exec rake ci-test irb: + needs: ruby-versions name: >- irb ${{ matrix.ruby }} ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: - ruby: [ 'head', '3.2' ] + ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} os: [ ubuntu-latest ] + exclude: + - ruby: 2.6 timeout-minutes: 30 steps: - uses: actions/checkout@v4 @@ -107,13 +117,14 @@ jobs: bundle exec rake test_yamatanooroti vterm-yamatanooroti: + needs: ruby-versions name: >- vterm-yamatanooroti ${{ matrix.os }} ${{ matrix.ruby }} runs-on: ${{ matrix.os }} strategy: matrix: + ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} os: [ ubuntu-latest ] - ruby: [ 'head', '3.2', '3.1', '3.0', '2.7', '2.6' ] timeout-minutes: 30 steps: - uses: actions/checkout@v4