summaryrefslogtreecommitdiffstats
path: root/.github/workflows/docs.yml
blob: dc2233b6058857efa401cbc809da2541dcf951c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
on: 
  push:
  pull_request:
  schedule:
    - cron: 0 0 * * 0

name: Build docs

env:
  RUSTFLAGS: '-D warnings'

jobs:
  docs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - uses: actions-rs/cargo@v1
        with:
          command: doc