Skip to content

feat: add support for image, hr and page break #10

feat: add support for image, hr and page break

feat: add support for image, hr and page break #10

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: '*'
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.nightly }}
strategy:
fail-fast: false
matrix:
toolchain: [ 'stable', 'beta' ]
nightly: [false]
include:
- toolchain: 'nightly'
nightly: true
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
components: clippy, rustfmt
- name: Cache cargo registry
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: rust_${{ matrix.toolchain }}-cargo-${{ hashFiles('**/Cargo.*') }}
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --all-targets --verbose
- name: Run doc tests
uses: actions-rs/cargo@v1
with:
command: test
args: --doc --verbose
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --all-features -- --deny clippy::pedantic