Skip to content

Commit

Permalink
Add a job for frozen-string-literal
Browse files Browse the repository at this point in the history
Followup to Shopify#102
  • Loading branch information
Earlopain committed May 7, 2024
1 parent 1430579 commit 809b54f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
matrix:
os: ["ubuntu-latest"]
ruby: ["ruby-head", "3.3", "3.2", "3.1", "3.0", "2.7", "2.6"]
include:
- ruby: "3.3"
rubyopt: "--enable-frozen-string-literal"
runs-on: ubuntu-latest
steps:
- name: Check out code
Expand All @@ -26,4 +29,4 @@ jobs:
run: sudo apt-get install -y ragel socat netcat

- name: Tests ${{ matrix.rubyopt }}
run: bundle exec rake
run: bundle exec rake RUBYOPT="${{ matrix.rubyopt }}"

0 comments on commit 809b54f

Please sign in to comment.