Ensure compatibility with --enable-frozen-string-literal
#698
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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"] | |
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 ${{ matrix.rubyopt }} | |
run: bundle exec rake |