diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c92da5f22..c6cd3099b 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.7", "2.7.3", "3.0.1", "jruby-9.2"] + ruby: ["2.4.10", "2.5.9", "2.6.8", "2.7.4", "3.0.2", "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.1" + - ruby: "3.0.2" 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 85861af24..ba1bc4894 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.7' + current_version = '2.6.8' 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.3' + current_version = '2.7.4' 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.1' + current_version = '3.0.2' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby30', current_version end