From ad7d36aef1432858c6b08223f180c9697d7ffb07 Mon Sep 17 00:00:00 2001 From: Keenan Brock Date: Thu, 26 Sep 2024 19:13:01 -0400 Subject: [PATCH] Support ruby 3.3 testing with ruby 3.3 These changes allow other repos to run with ruby 3.3 --- .github/workflows/ci.yaml | 4 +++- Gemfile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 882ed6c3222..d67eb253db0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,6 +16,8 @@ jobs: ruby-version: - '3.0' - '3.1' + - '3.2' + - '3.3' test-suite: - vmdb - security @@ -52,6 +54,6 @@ jobs: - name: Run tests run: bundle exec rake - name: Report code coverage - if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.1' && matrix.test-suite == 'vmdb' }} + if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.3' && matrix.test-suite == 'vmdb' }} continue-on-error: true uses: paambaati/codeclimate-action@v5 diff --git a/Gemfile b/Gemfile index e96ec81591e..4f4c010c139 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ raise "Ruby versions < 3.0.1 are unsupported!" if RUBY_VERSION < "3.0.1" -raise "Ruby versions >= 3.2.0 are unsupported!" if RUBY_VERSION >= "3.2.0" +raise "Ruby versions >= 3.4.0 are unsupported!" if RUBY_VERSION >= "3.4.0" source 'https://rubygems.org'