resolves #470 do not crash on an SVG image inside table cell (#473) #645
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: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
jobs: | |
activate: | |
runs-on: ubuntu-latest | |
if: "!endsWith(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- name: Proceed | |
run: echo ok go | |
lint: | |
needs: activate | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' | |
bundler-cache: true | |
- name: Lint | |
run: bundle exec rake lint | |
test: | |
needs: activate | |
strategy: | |
matrix: | |
ruby: ['jruby-9.3', 'jruby-9.4', '2.6', '3.3'] | |
os: [ubuntu-latest, windows-latest] | |
include: | |
- ruby: '3.3' | |
os: macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Test | |
run: bundle exec rake spec |