Drop support for ruby 3.1 #374
Merged
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.
This pull request updates the project's Ruby and Java versions, modernizes CI workflows, and removes legacy security and coverage integrations. The most significant changes are version upgrades for Ruby and Java, updates to GitHub Actions for testing, and the removal of the CodeQL analysis workflow.
Version upgrades:
3.1.6to3.2.9in.ruby-versionand.tool-versionsto ensure the project uses a more recent Ruby release. [1] [2]adoptopenjdk-18.0.1+10toadoptopenjdk-jre-21.0.9+10.0.LTSin.tool-versionsfor compatibility and security improvements.CI workflow improvements:
.github/workflows/tests.ymlto drop Ruby 3.1 and add support forjruby-10.0, reflecting current supported runtimes.actions/checkoutin CI workflows to use versionv6.0.1for better reliability and security.Removal of legacy integrations:
.github/workflows/codeql-analysis.yml, relying on default configurations for automated code scanning for vulnerabilities..github/workflows/tests.ymlwith a note that the integration is currently broken due to upstream changes.Other minor changes:
lib/ruby_units/unit.rb.README.mdfor better readability.