From fe24161b7f4ea19c8365e726f8ba62f96459916d Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Tue, 2 Jan 2024 21:03:37 +0100 Subject: [PATCH] Test against ruby 3.3 (#220) Signed-off-by: Earlopain <14981592+Earlopain@users.noreply.github.com> --- .github/workflows/compatibility.yml | 4 ++-- .github/workflows/main.yml | 6 +++--- .github/workflows/test-unreleased.yml | 8 ++++---- CHANGELOG.md | 1 + 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index a8a25b3e7..0bc0fdf99 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -35,7 +35,7 @@ jobs: disable-security: true - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2 + ruby-version: 3.3 - name: Build and test with Rake run: | sudo apt-get update @@ -68,7 +68,7 @@ jobs: disable-security: false - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2 + ruby-version: 3.3 - name: Build and test with Rake run: | sudo apt-get update diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b247ec2e0..f1396d0bc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, jruby-9.3 ] + ruby: [ 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, jruby-9.3 ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -52,7 +52,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ 2.6, 2.7, '3.0', 3.1, 3.2, jruby-9.3 ] + ruby: [ 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, jruby-9.3 ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -85,7 +85,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, jruby-9.3 ] + ruby: [ 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, jruby-9.3 ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/test-unreleased.yml b/.github/workflows/test-unreleased.yml index 349446317..ba684e663 100644 --- a/.github/workflows/test-unreleased.yml +++ b/.github/workflows/test-unreleased.yml @@ -19,10 +19,10 @@ jobs: fail-fast: false matrix: entry: - - { ruby_version: '3.2', opensearch_ref: '1.x' } - - { ruby_version: '3.2', opensearch_ref: '2.x' } - - { ruby_version: '3.2', opensearch_ref: '2.0' } - - { ruby_version: '3.2', opensearch_ref: 'main' } + - { ruby_version: '3.3', opensearch_ref: '1.x' } + - { ruby_version: '3.3', opensearch_ref: '2.x' } + - { ruby_version: '3.3', opensearch_ref: '2.0' } + - { ruby_version: '3.3', opensearch_ref: 'main' } steps: - uses: ruby/setup-ruby@v1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 32558f69d..4ad4d1362 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] ### Added - Added base64 gem to gemspec (#218)[https://github.com/opensearch-project/opensearch-ruby/pull/218] +- Added support for Ruby 3.3 ([#220](https://github.com/opensearch-project/opensearch-ruby/pull/220)) ### Changed ### Deprecated ### Removed