ci: add doc test job (#1045)

This commit is contained in:
Matthias Seitz
2023-01-26 09:26:59 +01:00
committed by GitHub
parent 25b0e53268
commit 2397c54a11

View File

@ -162,3 +162,13 @@ jobs:
with:
args: --all --all-features
token: ${{ secrets.GITHUB_TOKEN }}
docs-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: "test --doc --all --all-features"
run: cargo test --doc --all --all-features