-
-
Notifications
You must be signed in to change notification settings - Fork 405
53 lines (42 loc) · 1.09 KB
/
docs.yml
File metadata and controls
53 lines (42 loc) · 1.09 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
name: Docs
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
cli:
name: CLI docs coverage (public API 100%)
runs-on: ubuntu-latest
timeout-minutes: 20
env:
RUSTDOCFLAGS: -Dwarnings -Dmissing-docs
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rustflags: ""
- name: Verify docs coverage
run: cargo doc --locked --package x --no-deps --all-features
x_api:
name: x-api docs coverage (public API 100%)
runs-on: ubuntu-latest
timeout-minutes: 20
env:
RUSTDOCFLAGS: -Dwarnings -Dmissing-docs
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rustflags: ""
- name: Verify docs coverage
run: cargo doc --manifest-path x-api/Cargo.toml --no-deps --all-features