mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 07:20:55 +00:00
ci: test doc generation for all published packages
This commit is contained in:
parent
757ba0ac7e
commit
d3138f48cb
16
.github/workflows/rust.yml
vendored
16
.github/workflows/rust.yml
vendored
@ -52,6 +52,22 @@ jobs:
|
||||
- run: cd ${{ matrix.package }} && cargo nextest run
|
||||
- run: cd ${{ matrix.package }} && cargo clippy --all-targets -- -D warnings
|
||||
|
||||
Docs:
|
||||
strategy:
|
||||
matrix:
|
||||
package: [
|
||||
rinja, rinja_actix, rinja_axum, rinja_derive,
|
||||
rinja_parser, rinja_rocket, rinja_warp,
|
||||
]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- run: cd ${{ matrix.package }} && cargo doc --all-features --no-deps
|
||||
env:
|
||||
RUSTDOCFLAGS: -Z unstable-options --generate-link-to-definition --cfg=docsrs -D warnings
|
||||
|
||||
Rustfmt:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
Loading…
x
Reference in New Issue
Block a user