Use String#append_as_bytes
if available
#518
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: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu] | |
ruby: [ head, '3.3' ] | |
rubyopt: [""] | |
include: | |
- ruby: "3.3" | |
rubyopt: "--enable-frozen-string-literal --debug-frozen-string-literal" | |
os: "ubuntu" | |
steps: | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
version: "27.x" | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install dependencies | |
run: bundle install | |
- name: Run RuboCop | |
run: bundle exec rubocop | |
- name: Run tests ${{ matrix.rubyopt }} | |
run: bundle exec rake RUBYOPT="${{ matrix.rubyopt }}" |