.github/workflows/ci.yml in pitchfork-0.13.0 vs .github/workflows/ci.yml in pitchfork-0.14.0
- old
+ new
@@ -2,17 +2,21 @@
name: Test
on: [push, pull_request]
jobs:
ruby:
- name: Ruby ${{ matrix.ruby }}
+ name: Ruby ${{ matrix.ruby }} ${{ matrix.rubyopt }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
ruby: ["ruby-head", "3.3", "3.2", "3.1", "3.0", "2.7", "2.6"]
+ rubyopt: [""]
+ include:
+ - ruby: "3.3"
+ rubyopt: "--enable-frozen-string-literal"
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
@@ -24,6 +28,6 @@
- name: Install packages
run: sudo apt-get install -y ragel socat netcat
- name: Tests ${{ matrix.rubyopt }}
- run: bundle exec rake
+ run: RUBYOPT="${{ matrix.rubyopt }}" bundle exec rake