Skip to content

Commit

Permalink
* current.rb: bump default branch to parser/ruby30. (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliabylich authored Dec 25, 2020
1 parent 2221e9e commit d04b360
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions lib/parser/current.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d04b360

Please sign in to comment.