Skip to content

Ensure compatibility with --enable-frozen-string-literal #682

Ensure compatibility with --enable-frozen-string-literal

Ensure compatibility with --enable-frozen-string-literal #682

Workflow file for this run

---
name: Test
on: [push, pull_request]
jobs:
ruby:
name: Ruby ${{ matrix.ruby }}
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: []

Check failure on line 14 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 14, Col: 18): Matrix vector 'rubyopt' does not contain any values
include:
- os: ubuntu-latest
ruby: "3.3"
rubyopt: "--enable-frozen-string-literal --debug-frozen-string-literal"
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install packages
run: sudo apt-get install -y ragel socat netcat
- name: Tests
run: bundle exec rake RUBYOPT="${{ matrix.rubyopt }}"