-
Notifications
You must be signed in to change notification settings - Fork 389
41 lines (35 loc) · 924 Bytes
/
check-docs.yml
File metadata and controls
41 lines (35 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Check rustdocs
# this is its own workflow since we to to use unstable
# to have the docs.rs display of feature flags
on:
push:
paths:
- 'lambda-runtime/**'
- 'lambda-runtime-api-client/**'
- 'lambda-http/**'
- 'lambda-events/**'
- 'lambda-extension/**'
- 'Cargo.toml'
pull_request:
paths:
- 'lambda-runtime/**'
- 'lambda-runtime-api-client/**'
- 'lambda-http/**'
- 'lambda-events/**'
- 'lambda-extension/**'
- 'Cargo.toml'
permissions:
contents: read
jobs:
build-runtime:
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
- name: Check documentation
shell: bash
env:
RUSTDOCFLAGS: --cfg docsrs -Dwarnings
run: cargo doc --workspace --no-deps --document-private-items --all-features