From 4a0cf69afe46c730340f6c4767bc5ee01ef880b1 Mon Sep 17 00:00:00 2001 From: Shizuo Fujita Date: Thu, 12 Mar 2026 16:19:22 +0900 Subject: [PATCH] CI: Introduce ruby_versions.yml to add supported Ruby versions automatically Signed-off-by: Shizuo Fujita --- .github/workflows/test.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 18909cf..a8e924a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,14 +4,24 @@ on: branches: [master] pull_request: branches: [master] + schedule: + - cron: '0 0 1 * *' jobs: + ruby-versions: + uses: ruby/actions/.github/workflows/ruby_versions.yml@master + with: + engine: cruby + min_version: 3.1 build: + needs: ruby-versions runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: ['ubuntu-latest'] - ruby: [ '3.4', '3.3', '3.2', '3.1' ] + ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} + exclude: + - ruby: head name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }} steps: