aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorA-Walrus2022-09-03 14:58:16 +0000
committerGitHub2022-09-03 14:58:16 +0000
commitc93d52cc8a8fd4aafcdbe13c0684d9ddec68ef90 (patch)
tree5b8c1cddc5de890f730d46f0973be820f6a0d158 /.github/workflows
parent59f7b07c86309083c24b9c8858a9abe0dc3d68c8 (diff)
Fix cargo doc warnings, and add GitHub action to ensure it (#3650)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml8
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