Skip to content

Commit

Permalink
Add Ruby 3.4.0-preview1 to CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
herwinw committed May 18, 2024
1 parent c4fddaa commit 8372e78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- ruby3.1
- ruby3.2
- ruby3.3
- ruby3.4.0-preview1
compiler:
- gcc
- clang
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8372e78

Please sign in to comment.