Skip to content

Improve the docs when running cargo docs and fix the Clippy warnings for mdast_util_to_markdown #457

Improve the docs when running cargo docs and fix the Clippy warnings for mdast_util_to_markdown

Improve the docs when running cargo docs and fix the Clippy warnings for mdast_util_to_markdown #457

Workflow file for this run

name: main
on:
- pull_request
- push
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- run: cargo fmt --check && cargo clippy --examples --tests --benches --all-features
- run: cargo test --all-features
- run: cargo clippy -p mdast_util_to_markdown
- run: cargo test -p mdast_util_to_markdown
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- run: cargo install cargo-tarpaulin && cargo tarpaulin --features json --out xml
- uses: codecov/codecov-action@v4