From 0c49448e3eae7751f5fe9be54ca6cc8c9d3ca290 Mon Sep 17 00:00:00 2001 From: Ilya Bylich Date: Sat, 4 Jan 2025 18:56:46 +0100 Subject: [PATCH] * bump 3.4 branch, remove 3.0 from CI (EOL) --- .github/workflows/test.yml | 2 +- lib/parser/current.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eb0cd1075..cbe5224e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0.7", "3.1.6", "3.2.6", "3.3.6", "jruby-9.2"] + ruby: ["3.1.6", "3.2.6", "3.3.6", "3.4.1", "jruby-9.2"] test_command: ["bundle exec rake test"] include: - ruby: "head" diff --git a/lib/parser/current.rb b/lib/parser/current.rb index 24e4cf449..fde601eb0 100644 --- a/lib/parser/current.rb +++ b/lib/parser/current.rb @@ -120,7 +120,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby33 when /^3\.4\./ - current_version = '3.4.0' + current_version = '3.4.1' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby34', current_version end @@ -130,8 +130,8 @@ def warn_syntax_deviation(feature, version) else # :nocov: # Keep this in sync with released Ruby. - warn_syntax_deviation 'parser/ruby33', '3.3.x' - require_relative 'ruby33' + warn_syntax_deviation 'parser/ruby34', '3.4.x' + require_relative 'ruby34' CurrentRuby = Ruby33 end end