Skip to content

Commit e4645f5

Browse files
ci: avoid passing enable-frozen-string-literal flag to ruby
This flag was redundant for our own code since we already have the `# frozen_string_literal: true` directive at the top of each file, enforced by RuboCop. While the flag could theoretically catch frozen string issues in dependencies, I don't think we want our CI to fail because of frozen string errors in gems we don't have control of.
1 parent 1cb1da2 commit e4645f5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ jobs:
7070
bundler-cache: true
7171

7272
- run: bundle exec rspec
73-
env:
74-
RUBYOPT: ${{ startsWith(matrix.ruby, '3.4') && '--enable=frozen-string-literal' || '' }}
7573

7674
lint:
7775
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)