From 2a45d389fa41af8cadf29c0f8c87a0bfa077d072 Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Wed, 22 Apr 2026 17:17:30 -0700 Subject: [PATCH] chore: bump minimum Ruby to 3.3 and add Ruby 4.0 to CI matrix 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 --- .github/workflows/ci.yml | 2 +- github-markup.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eae636a3..37aece03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,9 +14,9 @@ jobs: strategy: matrix: ruby: - - "3.2" - "3.3" - "3.4" + - "4.0" fail-fast: false steps: diff --git a/github-markup.gemspec b/github-markup.gemspec index c8c1d3ad..7a02478e 100644 --- a/github-markup.gemspec +++ b/github-markup.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.homepage = "https://github.com/github/markup" s.license = "MIT" - s.required_ruby_version = '>= 3.1.0' + s.required_ruby_version = '>= 3.3.0' s.files = `git ls-files`.split($\) s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }