Skip to content

Commit

Permalink
Enable --enable-frozen-string-literal in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed May 20, 2024
1 parent aa9caa8 commit b525643
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: "Enable global frozen string literals for head"
if: matrix.ruby-version == 'head'

This comment has been minimized.

Copy link
@byroot

byroot May 20, 2024

Contributor

NB: that has existed for a very long time, so you don't have to limit it to head if you'd rather test it on all versions.

run: "echo RUBYOPT=--enable-frozen-string-literal >> $GITHUB_ENV"
- run: "bundle exec rake"

2 comments on commit b525643

@fxn
Copy link
Owner Author

@fxn fxn commented on b525643 May 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/cc @byroot ❤️

@byroot
Copy link
Contributor

@byroot byroot commented on b525643 May 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Please sign in to comment.