We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 489b235 commit bf16598Copy full SHA for bf16598
.github/workflows/check-docs.yml
@@ -0,0 +1,32 @@
1
+name: Check rustdocs
2
+# this is its own workflow since we to to use unstable
3
+# to have the docs.rs display of feature flags
4
+
5
+on:
6
+ push:
7
+ paths:
8
+ - 'lambda*'
9
+ - 'Cargo.toml'
10
11
+ pull_request:
12
13
14
15
16
+jobs:
17
+ build-runtime:
18
+ runs-on: ubuntu-latest
19
20
+ env:
21
+ RUST_BACKTRACE: 1
22
+ steps:
23
+ - uses: dtolnay/rust-toolchain@master
24
+ with:
25
+ toolchain: unstable
26
27
+ - name: Check documentation
28
+ shell: bash
29
30
+ RUSTFLAGS: --cfg docsrs
31
+ RUSTDOCFLAGS: --cfg docsrs -Dwarnings
32
+ run: cargo doc --no-deps --document-private-items --all-features
0 commit comments