From 39dce90b2c3975bb1f324db07ea8130a464503ca Mon Sep 17 00:00:00 2001 From: Takuro Ashie Date: Fri, 4 Feb 2022 15:05:50 +0900 Subject: [PATCH] CI: Add Ruby 3.1 for GNU/Linux & macOS For windows, we have several known issues on RubyInstaller 3.1 so that we don't yet add for now: https://github.com/fluent/fluentd/pull/3585 Signed-off-by: Takuro Ashie --- .github/workflows/linux-test.yaml | 2 +- .github/workflows/macos-test.yaml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux-test.yaml b/.github/workflows/linux-test.yaml index 0fa526f131..f814623805 100644 --- a/.github/workflows/linux-test.yaml +++ b/.github/workflows/linux-test.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ['3.0', '2.7', '2.6'] + ruby-version: ['3.1', '3.0', '2.7', '2.6'] os: [ubuntu-latest] experimental: [false] include: diff --git a/.github/workflows/macos-test.yaml b/.github/workflows/macos-test.yaml index 7729f48e86..630b03de7a 100644 --- a/.github/workflows/macos-test.yaml +++ b/.github/workflows/macos-test.yaml @@ -13,9 +13,13 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ['head', '2.7'] + ruby-version: ['3.1', '3.0', '2.7'] os: [macos-latest] experimental: [true] + include: + - ruby-version: head + os: macos-latest + experimental: true name: Unit testing with Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} steps: