Skip to content

Commit

Permalink
Add check for frozen string compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbyMcWho committed Dec 10, 2020
1 parent 9b29b0c commit c3e3273
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -54,6 +54,21 @@ jobs:
env:
JRUBY_OPTS: --debug
run: bundle exec rake
frozen-string-compat:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run tests
env:
RUBYOPT: "--enable-frozen-string-literal"
run: bundle exec rake
coveralls:
runs-on: ubuntu-18.04
steps:
Expand Down

0 comments on commit c3e3273

Please sign in to comment.