From 55096331d219801433c0520dfaadfb516690e287 Mon Sep 17 00:00:00 2001 From: shmokmt <32533860+shmokmt@users.noreply.github.com> Date: Thu, 21 Nov 2024 19:51:50 +0900 Subject: [PATCH] Rails8 requires Ruby 3.2 or higher version https://github.com/jruby/jruby/releases/tag/9.4.9.0 https://github.com/rails/rails/blob/5287cfa17681527761c50fd8c6ae169f4500bd97/rails.gemspec#L12 --- .github/workflows/tests.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1e01fad..c16a003 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -39,6 +39,13 @@ jobs: - gemfiles/rails_8_0.gemfile allow_failures: - false + exclude: + - os: ubuntu + ruby: 3.1 + gemfile: gemfiles/rails_8_0.gemfile + - os: ubuntu + ruby: jruby + gemfile: gemfiles/rails_8_0.gemfile include: - os: ubuntu ruby: ruby-head @@ -46,13 +53,13 @@ jobs: allow_failures: true - os: ubuntu ruby: jruby-head - gemfile: gemfiles/rails_8_0.gemfile + gemfile: gemfiles/rails_7_2.gemfile allow_failures: true env: BUNDLE_GEMFILE: "${{ matrix.gemfile }}" ALLOW_FAILURES: "${{ matrix.allow_failures }}" runs-on: ${{ matrix.os }}-latest - continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} + continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' || matrix.ruby == 'jruby' }} steps: - name: Checkout uses: actions/checkout@v4