-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 801 Bytes
/
build-docs.yml
File metadata and controls
36 lines (36 loc) · 801 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
name: Docs
on:
schedule:
- cron: '29 15 * * *'
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
doc:
name: Docs
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust:
#- stable
#- beta
- nightly
steps:
- uses: actions/checkout@v4
name: "Checkout"
- uses: dtolnay/rust-toolchain@nightly
with:
profile: "minimal"
toolchain: "${{ matrix.rust }}"
override: true
name: "Install Rust ${{ matrix.rust }}"
- uses: "actions-rs/cargo@v1"
with:
command: "check"
name: "Run `cargo check`"
- uses: dtolnay/install@cargo-docs-rs
name: "Install cargo docs-rs"
- run: cargo docs-rs
name: "Run `cargo docs-rs`"