Skip to content

Update examples link #540

Update examples link

Update examples link #540

Workflow file for this run

name: Rust Lints
on:
push:
branches:
- main
tags-ignore:
- v*
pull_request:
env:
# incremental builds are slower and don't make much sense in ci
CARGO_INCREMENTAL: 0
CARGO_TERM_COLOR: always
RUST_BACKTRACE: FULL
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt, clippy
- name: Rustfmt
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Build documentation
run: cargo doc --workspace --no-deps