diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index a20c897..1df47cf 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -19,6 +19,7 @@ jobs: name: ${{ matrix.ruby }} ${{ matrix.gemfile }} rake ${{ matrix.task }} env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile + RUBYOPT: "--enable-frozen-string-literal" steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 diff --git a/Gemfile.lock b/Gemfile.lock index 100355e..3f5644a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -31,7 +31,7 @@ GEM connection_pool (2.4.1) diff-lcs (1.3) drb (2.2.1) - forking_test_runner (1.3.0) + forking_test_runner (1.14.0) parallel_tests (>= 1.3.7) forwardable (1.3.3) i18n (1.14.5) @@ -39,8 +39,8 @@ GEM mini_portile2 (2.8.6) minitest (5.23.0) mutex_m (0.2.0) - parallel (1.21.0) - parallel_tests (2.27.0) + parallel (1.26.3) + parallel_tests (4.7.1) parallel parser (3.1.0.0) ast (~> 2.4.1) diff --git a/Rakefile b/Rakefile index 3748e6b..5629a4b 100644 --- a/Rakefile +++ b/Rakefile @@ -33,9 +33,9 @@ task :rubocop do sh "rubocop" end -desc "Bundle all" +desc "Bundle all CMD=" task :bundle_all do Dir["gemfiles/*.gemfile"].each do |gemfile| - Bundler.with_original_env { sh "BUNDLE_GEMFILE=#{gemfile} bundle" } + Bundler.with_original_env { sh "BUNDLE_GEMFILE=#{gemfile} bundle #{ENV["CMD"]}" } end end diff --git a/gemfiles/rails71.gemfile.lock b/gemfiles/rails71.gemfile.lock index a5e14e7..c2864ca 100644 --- a/gemfiles/rails71.gemfile.lock +++ b/gemfiles/rails71.gemfile.lock @@ -93,7 +93,7 @@ GEM diff-lcs (1.5.1) drb (2.2.1) erubi (1.12.0) - forking_test_runner (1.13.0) + forking_test_runner (1.14.0) parallel_tests (>= 1.3.7) forwardable (1.3.3) globalid (1.2.1) @@ -134,7 +134,7 @@ GEM racc (~> 1.4) nokogiri (1.16.5-x86_64-linux) racc (~> 1.4) - parallel (1.24.0) + parallel (1.26.3) parallel_tests (4.7.1) parallel parser (3.3.1.0)