Add Ruby version matrix to test on both 3.4 and 4.0#64
Merged
Conversation
Implements a GitHub Actions matrix strategy to test on multiple Ruby versions: - Ruby 3.4 (current stable maintenance version) - Ruby 4.0 (latest stable version) Benefits: - Ensures compatibility with both Ruby 3.4 and 4.0 - Catches Ruby version-specific issues early - Demonstrates project works across Ruby versions - Provides confidence for users on different Ruby versions - fail-fast: false allows all versions to run even if one fails The matrix runs tests in parallel, so CI time remains similar while providing significantly more coverage. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
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
Implements a GitHub Actions matrix strategy to test the project on multiple Ruby versions simultaneously.
Changes
Updated
.github/workflows/ruby.ymlto use a matrix strategy:Ruby Versions Tested
Ruby 3.4 - Current stable maintenance version
Ruby 4.0 - Latest stable version
Benefits
✅ Compatibility assurance - Ensures code works on both versions
✅ Early issue detection - Catches version-specific problems before users hit them
✅ Future-proof - Ready for Ruby 4.0 adoption
✅ User confidence - Shows project works across Ruby versions
✅ Parallel execution - Tests run simultaneously, minimal CI time impact
✅ fail-fast: false - All versions complete even if one fails
Impact
This ensures the project remains compatible with both the current stable version and the latest release!