Skip to content

(github) fix: separate workflows + fix toolchain installation #1

(github) fix: separate workflows + fix toolchain installation

(github) fix: separate workflows + fix toolchain installation #1

Workflow file for this run

name: Docs
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
env:
CARGO_TERM_COLOR: always
jobs:
doc:
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, nightly]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- name: Check documentation
run: RUSTDOCFLAGS="-D warnings" cargo doc --document-private-items --all --verbose --release