From 31faa0aff60308647f2d81fef75bcd79414fe966 Mon Sep 17 00:00:00 2001 From: Ilya Bylich Date: Fri, 26 Apr 2024 20:54:38 +0200 Subject: [PATCH] * Bump parser branches to 3.0.7, 3.1.5, 3.2.4, 3.3.1 (#1011) --- .github/workflows/test.yml | 6 +++--- lib/parser/current.rb | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c4521fd58..781c5ed5e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,16 +17,16 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0.6", "3.1.4", "3.2.3", "3.3.0", "jruby-9.2"] + ruby: ["3.0.7", "3.1.5", "3.2.4", "3.3.1", "jruby-9.2"] test_command: ["bundle exec rake test"] include: - ruby: "head" test_command: "bundle exec rake test || true" - ruby: "truffleruby" test_command: "bundle exec rake test || true" - - ruby: "3.2.3" + - ruby: "3.2.4" test_command: "./ci/run_rubocop_specs || true" - - ruby: "3.3.0" + - ruby: "3.3.1" test_command: "./ci/run_rubocop_specs || true" steps: - uses: actions/checkout@v3 diff --git a/lib/parser/current.rb b/lib/parser/current.rb index 8d84002dc..d1e2eeaec 100644 --- a/lib/parser/current.rb +++ b/lib/parser/current.rb @@ -84,7 +84,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby27 when /^3\.0\./ - current_version = '3.0.6' + current_version = '3.0.7' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby30', current_version end @@ -93,7 +93,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby30 when /^3\.1\./ - current_version = '3.1.4' + current_version = '3.1.5' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby31', current_version end @@ -102,7 +102,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby31 when /^3\.2\./ - current_version = '3.2.3' + current_version = '3.2.4' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby32', current_version end @@ -111,7 +111,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby32 when /^3\.3\./ - current_version = '3.3.0' + current_version = '3.3.1' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby33', current_version end