diff options
author | A-Walrus | 2022-09-03 14:58:16 +0000 |
---|---|---|
committer | GitHub | 2022-09-03 14:58:16 +0000 |
commit | c93d52cc8a8fd4aafcdbe13c0684d9ddec68ef90 (patch) | |
tree | 5b8c1cddc5de890f730d46f0973be820f6a0d158 /.github | |
parent | 59f7b07c86309083c24b9c8858a9abe0dc3d68c8 (diff) |
Fix cargo doc warnings, and add GitHub action to ensure it (#3650)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a1950df..ef47a277 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -103,6 +103,14 @@ jobs: command: clippy args: --all-targets -- -D warnings + - name: Run cargo doc + uses: actions-rs/cargo@v1 + with: + command: doc + args: --no-deps --workspace --document-private-items + env: + RUSTDOCFLAGS: -D warnings + docs: name: Docs runs-on: ubuntu-latest |