From 7d4f7c7eb98fdecaa1451d555110b1dd56411088 Mon Sep 17 00:00:00 2001 From: Ilya Bylich Date: Wed, 5 Feb 2025 08:29:16 +0100 Subject: [PATCH] * parser/current: add -dev prefix to 3.4 branch --- .github/workflows/test.yml | 4 +++- lib/parser/current.rb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 157b55977..4d367aed3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.1.6", "3.2.7", "3.3.7", "jruby-9.4"] + ruby: ["3.1.6", "3.2.7", "3.3.7", "3.4.1", "jruby-9.4"] test_command: ["bundle exec rake test"] include: - ruby: "head" @@ -28,6 +28,8 @@ jobs: test_command: "./ci/run_rubocop_specs || true" - ruby: "3.3.7" test_command: "./ci/run_rubocop_specs || true" + - ruby: "3.4.1" + test_command: "./ci/run_rubocop_specs || true" steps: - uses: actions/checkout@v4 - name: Install Ragel diff --git a/lib/parser/current.rb b/lib/parser/current.rb index 1170b6b31..2298a5049 100644 --- a/lib/parser/current.rb +++ b/lib/parser/current.rb @@ -120,7 +120,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby33 when /^3\.4\./ - current_version = '3.4.0' + current_version = '3.4.0-dev' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby34', current_version end