Add Ruby 4.0 support: upgrade magnus to 0.8.2 and update CI#83
Merged
Conversation
feat(ci): Actions Ruby 4.0 support
- Multi-stage build (builder/runtime/test stages) - Minimal Rust profile for faster installs - YAML anchors for DRY compose config - Simplified test script with modern bash Co-Authored-By: Claude <noreply@anthropic.com>
Add Docker test environment for gem install verification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Summary
This PR adds full Ruby 4.0 support by upgrading dependencies and updating all CI workflows. This fixes the build errors reported in Issue #70.
🔧 Main Changes
Dependency Upgrades
API Migration
ruby.define_module()instead of deprecateddefine_module()functionCI Configuration Updates
['3.4', '4.0'], lint/coverage use Ruby 4.03.4,4.0🗂️ Changed Files
.github/workflows/ci.yml,.github/workflows/main.yml,.github/workflows/release.ymlext/rfmt/Cargo.toml,Cargo.lockGemfile.lockext/rfmt/src/lib.rs🧪 Testing
Local Test Results
Verification
📦 Breaking Changes
Dropped Ruby versions: 3.1, 3.2, 3.3 are no longer tested in CI. Minimum supported version is now Ruby 3.4.
Related Issue
Closes #70
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com