feat: agent base implementation
Some checks failed
Rust CI / test (push) Failing after 18s

This commit is contained in:
2025-08-15 13:30:14 +09:00
commit 986cb5f1ac
18 changed files with 340 additions and 0 deletions

44
.github/workflows/test.yaml vendored Normal file
View File

@@ -0,0 +1,44 @@
name: Rust CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Rust
uses: actions/setup-rust@v2
with:
rust-version: stable
- name: Cache Cargo registry
uses: actions/cache@v3
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-
- name: Cache Cargo build
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-build-
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose