From e9173063d789c29cc84c602fd2ed2835d37cf31a Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Tue, 9 Jan 2024 16:42:50 +0900 Subject: [PATCH] Use ruby/actions/.github/workflows/ruby_versions.yml@master --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2bb4489..90718ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,17 @@ on: pull_request: jobs: + ruby-versions: + uses: ruby/actions/.github/workflows/ruby_versions.yml@master + with: + engine: cruby + min_version: 2.7 test: strategy: fail-fast: false matrix: os: [ubuntu] - ruby: [2.7, "3.0", 3.1, 3.2, head, jruby] + ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} name: >- ${{matrix.os}}:ruby-${{matrix.ruby}}