diff options
Diffstat (limited to '.github/workflows/docs.yml')
-rw-r--r-- | .github/workflows/docs.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..dc2233b --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,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 |