Skip to content

Commit

Permalink
Revert "* bump 3.4 branch, remove 3.0 from CI (EOL) (#1057)" (#1058)
Browse files Browse the repository at this point in the history
This reverts commit 3d89cb4.
  • Loading branch information
iliabylich authored Jan 4, 2025
1 parent 3d89cb4 commit 70ac244
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["3.1.6", "3.2.6", "3.3.6", "3.4.1", "jruby-9.2"]
ruby: ["3.0.7", "3.1.6", "3.2.6", "3.3.6", "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.3.6"
- ruby: "3.2.6"
test_command: "./ci/run_rubocop_specs || true"
- ruby: "3.4.1"
- ruby: "3.3.6"
test_command: "./ci/run_rubocop_specs || true"
steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions lib/parser/current.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def warn_syntax_deviation(feature, version)
CurrentRuby = Ruby33

when /^3\.4\./
current_version = '3.4.1'
current_version = '3.4.0'
if RUBY_VERSION != current_version
warn_syntax_deviation 'parser/ruby34', current_version
end
Expand All @@ -130,8 +130,8 @@ def warn_syntax_deviation(feature, version)

else # :nocov:
# Keep this in sync with released Ruby.
warn_syntax_deviation 'parser/ruby34', '3.4.x'
require_relative 'ruby34'
CurrentRuby = Ruby34
warn_syntax_deviation 'parser/ruby33', '3.3.x'
require_relative 'ruby33'
CurrentRuby = Ruby33
end
end

0 comments on commit 70ac244

Please sign in to comment.