Skip to content

Commit 18657fa

Browse files
hellow554Philippe-Cholet
authored andcommitted
CI: add cargo doc
1 parent 1fb979b commit 18657fa

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ jobs:
2727
components: clippy
2828
- run: RUSTFLAGS="--deny warnings" cargo clippy ${{ matrix.features }}
2929

30+
doc:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v4
34+
- uses: dtolnay/rust-toolchain@stable
35+
- run: RUSTDOCFLAGS="-Dwarnings" cargo doc --all-features
36+
3037
msrv:
3138
runs-on: ubuntu-latest
3239
env:
@@ -60,7 +67,7 @@ jobs:
6067
name: All checks succeeded
6168
if: success()
6269
runs-on: ubuntu-latest
63-
needs: [check, msrv, test, check-format]
70+
needs: [check, msrv, test, check-format, doc]
6471
steps:
6572
- name: Mark the job as successful
6673
run: exit 0

0 commit comments

Comments
 (0)