Skip to content

refactor: lint code and add ci check #1

refactor: lint code and add ci check

refactor: lint code and add ci check #1

Workflow file for this run

name: Code Lint
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Clippy
run: rustup component add clippy
- name: Run Clippy
run: cargo clippy --all-targets --all-features
- name: Code Spell Check
uses: streetsidesoftware/cspell-action@v6
with:
files: "**"
config: cspell.json
strict: true
verbose: true