chore: fix all lints and formats (#336)

This commit is contained in:
Bradley Axen
2024-11-25 12:43:16 -08:00
committed by GitHub
parent 89b051cf90
commit 8d9fc0d5e8
24 changed files with 258 additions and 570 deletions
+22
View File
@@ -9,6 +9,24 @@ on:
- v1.0
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: check format
run: |
cargo fmt --check
build-and-test:
runs-on: ubuntu-latest
@@ -79,3 +97,7 @@ jobs:
run: cargo test --verbose
env:
OLLAMA_MODEL: "qwen2.5"
- name: check lint
run: |
cargo clippy