mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
chore: fix all lints and formats (#336)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user