Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run with frozen strings in ci #143

Merged
merged 3 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading