Skip to content

Commit af3c1aa

Browse files
committed
Add docs to CI
This is primarily to detect broken intra-doc links, which `cargo doc` warns about.
1 parent f7a1277 commit af3c1aa

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yml

+14
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,17 @@ jobs:
7676
components: clippy
7777
- run: cargo clippy
7878

79+
docs:
80+
runs-on: ubuntu-latest
81+
strategy:
82+
matrix:
83+
rust:
84+
- stable
85+
steps:
86+
- uses: actions/checkout@v2
87+
- uses: actions-rs/toolchain@v1
88+
with:
89+
profile: minimal
90+
toolchain: ${{ matrix.rust }}
91+
override: true
92+
- run: cargo doc

0 commit comments

Comments
 (0)