Skip to content

chore: fix all clippy warnings and improve code quality #261

chore: fix all clippy warnings and improve code quality

chore: fix all clippy warnings and improve code quality #261

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
- next
paths-ignore:
- 'README.md'
- 'LICENSE'
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Uses values from rust-toolchain.toml
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --check
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run cargo test
run: cargo test