Skip to content

Add ruby 4 to test matrix and update local dev version#629

Open
andrcuns wants to merge 3 commits intomasterfrom
chore-ruby-4
Open

Add ruby 4 to test matrix and update local dev version#629
andrcuns wants to merge 3 commits intomasterfrom
chore-ruby-4

Conversation

@andrcuns
Copy link
Copy Markdown
Collaborator

@andrcuns andrcuns commented Apr 3, 2026

  • Adds ruby 4.0 to test matrix and makes it default dev version
  • Drop ruby 3.2 from test matrix as it has reached EOL

@andrcuns andrcuns added the maintenance Non user facing changes label Apr 3, 2026
@andrcuns
Copy link
Copy Markdown
Collaborator Author

andrcuns commented Apr 3, 2026

@baev I seem to have lost access to settings, could you remove 3.2 jobs from being required?

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

Updates the repository’s Ruby version policy by moving local development and CI testing forward to Ruby 4.0, while removing the EOL Ruby 3.2 from the test matrix.

Changes:

  • Bump the default local Ruby version to 4.0.2 via .ruby-version.
  • Update the GitHub Actions test matrix to add Ruby 4.0 and drop Ruby 3.2.
  • Switch the Rubocop workflow job to run on Ruby 4.0.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.ruby-version Updates the default local development Ruby to 4.0.2.
.github/workflows/test.yml Updates CI to lint with Ruby 4.0 and test against Ruby 3.3/3.4/4.0.

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

Comment on lines 36 to 39
fail-fast: false
matrix:
ruby: ["3.2", "3.3", "3.4"]
ruby: ["3.3", "3.4", "4.0"]
oj: [false, true]
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

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

This PR updates the test matrix to include Ruby 4.0 and makes it the default for linting, but .github/workflows/release.yml is still pinned to Ruby 3.4. If the intent is to move the repo default Ruby forward, the release workflow should likely be updated too to avoid building/releasing under an older Ruby than CI/dev.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Non user facing changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants