Skip to content

Do not double escape text when processing markdown. #70

Do not double escape text when processing markdown.

Do not double escape text when processing markdown. #70

Workflow file for this run

---
name: ruby-tests
on:
pull_request_target:
push:
branches:
- main
workflow_dispatch:
inputs: {}
jobs:
build:
name: Tests with Ruby ${{ matrix.ruby }} and ${{ matrix.gemfile }}
runs-on: "ubuntu-latest"
if: |
github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target' ||
github.actor != 'dependabot[bot]'
strategy:
fail-fast: false
matrix:
ruby: ["3.2", "3.3"]
gemfile:
- Gemfile
steps:
- name: Update deps
run: sudo apt update -y
- name: Install deps
run: sudo apt install -y calibre gdebi
- name: Install princexml
run: |
wget https://www.princexml.com/download/prince_14.2-1_ubuntu20.04_amd64.deb
sudo gdebi --non-interactive prince_14.2-1_ubuntu20.04_amd64.deb
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: vendor/bundle
key: >
${{ runner.os }}-${{ matrix.ruby }}-gems-${{
hashFiles(matrix.gemfile) }}
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install gem dependencies
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
run: |
gem install bundler
bundle config path vendor/bundle
bundle update --jobs 4 --retry 3
- name: Run Tests
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
run: |
bundle exec rake