Skip to content

add CI pipelines

add CI pipelines #3

Workflow file for this run

---
on: pull_request
name: PR Lints
jobs:
lints:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check spelling of file.txt
uses: crate-ci/typos@master
with:
config: ./typos.toml
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Clippy
run: cargo clippy --all-features --all-targets
- name: Format Check
run: cargo fmt --check