Skip to content

Commit

Permalink
Remove freeze-all-strings from build
Browse files Browse the repository at this point in the history
Rack 1.6 blows up with this option.
  • Loading branch information
nateberkopec committed Mar 19, 2020
1 parent b046d60 commit 9dee8d0
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/ruby.yml
Expand Up @@ -44,12 +44,7 @@ jobs:

- name: test
timeout-minutes: 8
run: |
# RubyGems < 3, no frozen strings
if [[ "2.6" < "${{ matrix.ruby }}.0" ]]; then
export RUBYOPT="--enable=frozen-string-literal"
fi
bundle exec rake
run: bundle exec rake

win32:
name: >-
Expand Down Expand Up @@ -92,12 +87,7 @@ jobs:
- name: test
timeout-minutes: 8
run: |
# RubyGems < 3, no frozen strings
if ('${{ matrix.ruby }}' -ge '2.6') {
$env:RUBYOPT = '--enable=frozen-string-literal'
}
bundle exec rake
run: bundle exec rake

nonMRIHead:
name: >-
Expand Down Expand Up @@ -140,9 +130,4 @@ jobs:
timeout-minutes: 8
continue-on-error: true
if: success()
run: |
# RubyGems < 3, no frozen strings
if [[ "2.6" < "${{ matrix.cfg.ruby }}.0" ]]; then
export RUBYOPT="--enable=frozen-string-literal"
fi
bundle exec rake
run: bundle exec rake

0 comments on commit 9dee8d0

Please sign in to comment.