From 2479b90df945efb96f015e6551c37ddd2ab27221 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Fri, 26 Nov 2021 00:16:38 +0900 Subject: [PATCH] * Bump maintenance branches to 3.0.3, 2.7.5, and 2.6.9 (#829) --- .github/workflows/test.yml | 4 ++-- lib/parser/current.rb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c6cd3099b..304d0c0e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,14 +17,14 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["2.4.10", "2.5.9", "2.6.8", "2.7.4", "3.0.2", "jruby-9.2"] + ruby: ["2.4.10", "2.5.9", "2.6.9", "2.7.5", "3.0.3", "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.0.2" + - ruby: "3.0.3" test_command: "./ci/run_rubocop_specs || true" steps: - uses: actions/checkout@v2 diff --git a/lib/parser/current.rb b/lib/parser/current.rb index ba1bc4894..d73ff6598 100644 --- a/lib/parser/current.rb +++ b/lib/parser/current.rb @@ -66,7 +66,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby25 when /^2\.6\./ - current_version = '2.6.8' + current_version = '2.6.9' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby26', current_version end @@ -75,7 +75,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby26 when /^2\.7\./ - current_version = '2.7.4' + current_version = '2.7.5' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby27', current_version end @@ -84,7 +84,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby27 when /^3\.0\./ - current_version = '3.0.2' + current_version = '3.0.3' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby30', current_version end