Bump Ruby and Rails versions that tests run against#72
Merged
Conversation
Ruby 3.0 and 3.1 are EOL. 3.2 is still receiving security updates. https://www.ruby-lang.org/en/downloads/branches/ Rails have a new maintenance policy (https://rubyonrails.org/maintenance) and 7.0 went out of support in April
There was a problem hiding this comment.
Pull Request Overview
This PR updates the CI matrix to drop end-of-life Ruby and Rails versions and test against newer supported releases.
- Remove Ruby 3.0 & 3.1 and Rails 6.1.7 & 7.0.8 from CI
- Add Ruby 3.2, 3.3, 3.4 and Rails 7.1.5, 7.2.2, 8.0.2 to CI
Comments suppressed due to low confidence (2)
.github/workflows/ci.yml:27
- [nitpick] Since the CI matrix now includes Ruby 3.4, make sure the project’s Gemfile
rubydirective and any.ruby-versionfile are updated to match these supported versions.
ruby-version: ['3.2', '3.3', '3.4']
.github/workflows/ci.yml:28
- [nitpick] If Rails 6.1 support has been intentionally dropped, update the README or other project docs to reflect the new supported Rails versions; otherwise consider retaining 6.1.x in the test matrix.
rails-version: ['7.1.5', '7.2.2', '8.0.2']
joelhawksley
reviewed
Jun 9, 2025
Contributor
joelhawksley
left a comment
There was a problem hiding this comment.
Should we also restrict ruby and rails versions in the gemspec?
joelhawksley
approved these changes
Jun 10, 2025
Co-authored-by: Joel Hawksley <joelhawksley@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.
Ruby 3.0 and 3.1 are EOL. 3.2 is still receiving security updates. https://www.ruby-lang.org/en/downloads/branches/
Rails have a new maintenance policy (https://rubyonrails.org/maintenance) and 7.0 went out of support in April