HTML escape YAML after parsing to prevent invalidating YAML string #204
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: Ruby Build | |
on: [push, pull_request] | |
jobs: | |
jruby_build: | |
name: JRuby (${{ matrix.ruby }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: [jruby-9.4.0.0] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: List files in the repository | |
run: | | |
ls ${{ github.workspace }} | |
- name: Set up Java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run tests | |
run: bundle exec rake | |
mri_build: | |
name: Ruby (${{ matrix.ruby }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: ['2.7', '3.1', '3.2.1'] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: List files in the repository | |
run: | | |
ls ${{ github.workspace }} | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run tests | |
run: bundle exec rake |