CI: check docs (#1612)
commit8321cc661c94a2796c5033b6c368314f6853d04b
authorMarco Ieni <11428655+MarcoIeni@users.noreply.github.com>
dateWed 12 May 2021, 07:20 (5 years ago)
parent848ceb6
.github/workflows/CICD.yml+7
@@ -79,6 +79,13 @@ jobs:
7979 run: bat --list-languages
8080 - name: List of themes
8181 run: bat --list-themes
82+ - name: Check documentation
83+ env:
84+ RUSTDOCFLAGS: -D warnings
85+ uses: actions-rs/cargo@v1
86+ with:
87+ command: doc
88+ args: --no-deps --document-private-items --all-features
8289
8390 build:
8491 name: ${{ matrix.job.os }} (${{ matrix.job.target }})