Skip to content

refactor/crate separation #27

refactor/crate separation

refactor/crate separation #27

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: [arc-runner-set]
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 --tests --examples --benches -- -D warnings
- name: Build documentation
run: cargo doc --workspace --no-deps