Skip to content

fix: lint and reformat #15

fix: lint and reformat

fix: lint and reformat #15

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
lint-build:
name: Lint, Format, Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache cargo
uses: Swatinem/rust-cache@v2
- name: Format check
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Build
run: cargo build --workspace --all-features --locked