From d04b360b4b4ec45c03700f08d70cfe999acfed3f Mon Sep 17 00:00:00 2001 From: Ilya Bylich Date: Fri, 25 Dec 2020 17:39:52 +0300 Subject: [PATCH] * current.rb: bump default branch to parser/ruby30. (#782) --- .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 a30d3195c..9b00f9b29 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.8", "2.6.6", "2.7.2", "jruby-9.2"] + ruby: ["2.4.10", "2.5.8", "2.6.6", "2.7.2", "3.0.0", "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: "2.7.2" + - ruby: "3.0.0" 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 326ad6dd1..5f84bdff0 100644 --- a/lib/parser/current.rb +++ b/lib/parser/current.rb @@ -94,8 +94,8 @@ def warn_syntax_deviation(feature, version) else # :nocov: # Keep this in sync with released Ruby. - warn_syntax_deviation 'parser/ruby27', '2.7.x' - require 'parser/ruby27' - CurrentRuby = Ruby27 + warn_syntax_deviation 'parser/ruby30', '3.0.x' + require 'parser/ruby30' + CurrentRuby = Ruby30 end end