-
-
Notifications
You must be signed in to change notification settings - Fork 39
35 lines (30 loc) · 693 Bytes
/
build_docs.yml
File metadata and controls
35 lines (30 loc) · 693 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
name: Build Documentation
on:
workflow_call:
workflow_dispatch:
push:
branches:
- "*"
pull_request:
branches: ["master"]
env:
CARGO_TERM_COLOR: always
jobs:
rustdoc:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout
- uses: actions-rs/toolchain@v1
name: Install rust toolchain
with:
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2
name: Smart caching for Cargo
- uses: actions-rs/cargo@v1
name: Check Documentation with Rustdoc
with:
command: doc
args: --verbose --no-deps