Skip to content

chore: bump minimum Ruby to 3.3 and add Ruby 4.0 to CI matrix#2051

Merged
zkoppert merged 1 commit intomasterfrom
chore/bump-ruby-requirement
Apr 23, 2026
Merged

chore: bump minimum Ruby to 3.3 and add Ruby 4.0 to CI matrix#2051
zkoppert merged 1 commit intomasterfrom
chore/bump-ruby-requirement

Conversation

@zkoppert
Copy link
Copy Markdown
Member

Summary

Drops support for EOL Ruby versions and adds Ruby 4.0 to CI.

  • Ruby 3.1: EOL March 2025 (already removed from CI matrix)
  • Ruby 3.2: EOL March 2026
  • Ruby 4.0: Released, now in full support

Changes

  • github-markup.gemspec: required_ruby_version bumped from >= 3.1.0 to >= 3.3.0
  • .github/workflows/ci.yml: Test matrix updated from [3.2, 3.3, 3.4] to [3.3, 3.4, 4.0]

Testing

  • CI runs on this PR validate compatibility across Ruby 3.3, 3.4, and 4.0.
  • Ruby 4.0 is the key one to watch — first time this gem runs against a Ruby major version bump.

Ruby 3.1 went EOL March 2025, Ruby 3.2 went EOL March 2026.
Update required_ruby_version to >= 3.3.0 and adjust the CI test
matrix to cover all currently supported Ruby versions: 3.3, 3.4, 4.0.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Zack Koppert <zkoppert@github.com>
@zkoppert zkoppert self-assigned this Apr 23, 2026
@zkoppert zkoppert marked this pull request as ready for review April 23, 2026 00:35
Copilot AI review requested due to automatic review settings April 23, 2026 00:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the gem’s supported Ruby versions by raising the minimum Ruby requirement and aligning CI to validate against currently supported Ruby releases, including Ruby 4.0.

Changes:

  • Bump required_ruby_version in the gemspec from >= 3.1.0 to >= 3.3.0.
  • Update the GitHub Actions CI Ruby matrix to test 3.3, 3.4, and 4.0 (dropping 3.2).
Show a summary per file
File Description
github-markup.gemspec Raises minimum supported Ruby to 3.3 via required_ruby_version.
.github/workflows/ci.yml Adjusts CI Ruby matrix to match supported versions and adds Ruby 4.0 coverage.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

@zkoppert zkoppert merged commit 310db6d into master Apr 23, 2026
14 checks passed
@zkoppert zkoppert deleted the chore/bump-ruby-requirement branch April 23, 2026 00:42
@zkoppert zkoppert mentioned this pull request Apr 23, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants