From a782061ee629825109b7b04102b88ca20fce99b8 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Wed, 8 Jan 2025 11:55:04 +0900 Subject: [PATCH] ci: test with more newer ruby Signed-off-by: Kentaro Hayashi --- .github/workflows/linux.yml | 11 +++++++---- .github/workflows/windows.yml | 5 +++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 48eade2..9a1850f 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -9,18 +9,21 @@ jobs: fail-fast: false matrix: ruby: - - 2.5 - - 2.6 - 2.7 - - 3.0 + - '3.0' + - 3.1 + - 3.2 + - 3.3 + - 3.4 os: - ubuntu-latest name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} + rubygems: latest - name: unit testing env: CI: true diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0911423..45374bf 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -8,15 +8,16 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ '2.5', '2.6', '2.7', '3.0' ] + ruby: [ '2.7', '3.0', '3.1', '3.2', '3.3', '3.4' ] os: - windows-latest name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} + rubygems: latest - name: unit testing env: CI: true