Use links in documentation #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust CI | |
on: pull_request | |
jobs: | |
test-and-clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
components: 'clippy, rustfmt' | |
- name: Run tests | |
# working-directory: . | |
run: cargo test --all-features | |
- name: Run clippy | |
# working-directory: . | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
- name: Check formatting | |
run: cargo fmt --all -- --check | |
- name: Build Documentation | |
env: | |
RUSTDOCFLAGS: "-D warnings" | |
run: cargo doc --no-deps |