diff --git a/.github/workflows/reline.yml b/.github/workflows/reline.yml index 577d9fc04e..ab2b91499c 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 @@ -65,7 +72,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - ruby: [ 'head', '3.2' ] + ruby: [ 'head' ] os: [ ubuntu-latest ] timeout-minutes: 30 steps: @@ -107,13 +114,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