From e7d12858c725c5f5549c4b0ce824fd4e0b3595d0 Mon Sep 17 00:00:00 2001 From: Herwin Date: Sat, 18 May 2024 10:57:01 +0200 Subject: [PATCH] Add Ruby 3.4.0-preview1 to CI tests --- .github/workflows/build.yml | 1 + Rakefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0827f31736..d276c536ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,7 @@ jobs: - ruby3.1 - ruby3.2 - ruby3.3 + - ruby3.4.0-preview1 compiler: - gcc - clang diff --git a/Rakefile b/Rakefile index 5fad5a98fc..7c9c43a2b8 100644 --- a/Rakefile +++ b/Rakefile @@ -349,7 +349,7 @@ end def ruby_version_string string = ENV['RUBY'] || DEFAULT_HOST_RUBY_VERSION - raise 'must be in the format rubyX.Y' unless string =~ /^ruby\d\.\d$/ + raise 'must be in the format rubyX.Y' unless string =~ /^ruby\d\.\d(?:\.\d-preview\d)?$/ string end