Skip to content

Commit

Permalink
Merge pull request #143 from grosser/grosser/env
Browse files Browse the repository at this point in the history
run with frozen strings in ci
  • Loading branch information
grosser authored Aug 21, 2024
2 parents fb6baf1 + 83e270e commit 8361289
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ 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)
concurrent-ruby (~> 1.0)
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)
Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions gemfiles/rails71.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8361289

Please sign in to comment.