on:
schedule:
- cron: "0 6 * * *"
push:
branches:
- main
- "test/**" # Push events to branches matching refs/heads/test/[ANYTHING]
- "test-*" # Push events to branches matching refs/heads/test-[ANYTHING]
pull_request:
name: doc tests (nightly toolchain)
jobs:
doc-nightly-all-features:
name: all features doc tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --doc