From 1eed4ae183d74b1844ec506c8031f4ae4b71a067 Mon Sep 17 00:00:00 2001 From: Masato Ikeda Date: Thu, 28 Dec 2023 01:19:04 +0900 Subject: [PATCH 1/2] Add MongoDB 6.0 and 7.0 to CI --- .github/workflows/ruby.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index c57f4bd..4d6bc11 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -24,6 +24,8 @@ jobs: - mongo:4.2 - mongo:4.4 - mongo:5.0 + - mongo:6.0 + - mongo:7.0 services: mongo: image: ${{ matrix.mongo-image }} From 1cecd4cebd046d667de24da8db48e3c131d6466b Mon Sep 17 00:00:00 2001 From: Masato Ikeda Date: Thu, 28 Dec 2023 01:41:11 +0900 Subject: [PATCH 2/2] Reduce CI matrix patterns It takes too long time to complete conditions for all Ruby versions by all MongoDB versions. So this commit changes the configuration to run all MongoDB versions only with Ruby 3.1. --- .github/workflows/ruby.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 4d6bc11..71459eb 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -21,11 +21,12 @@ jobs: - 3.0.6 - 3.1.4 mongo-image: - - mongo:4.2 - mongo:4.4 - - mongo:5.0 - - mongo:6.0 - - mongo:7.0 + include: + - { "ruby-version": 3.1.4, "mongo-image": "mongo:4.2" } + - { "ruby-version": 3.1.4, "mongo-image": "mongo:5.0" } + - { "ruby-version": 3.1.4, "mongo-image": "mongo:6.0" } + - { "ruby-version": 3.1.4, "mongo-image": "mongo:7.0" } services: mongo: image: ${{ matrix.mongo-image }}