feat: 实现完整的CLI初始化与运行框架,新增内置agent模板 #101
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust | |
| on: | |
| push: | |
| paths: | |
| - 'Cargo.toml' | |
| - 'Cargo.lock' | |
| - 'src/**' | |
| - 'tests/**' | |
| - '.github/workflows/rust.yml' | |
| pull_request: | |
| paths: | |
| - 'Cargo.toml' | |
| - 'Cargo.lock' | |
| - 'src/**' | |
| - 'tests/**' | |
| - '.github/workflows/rust.yml' | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - name: cargo check | |
| run: cargo check --all-targets | |
| - name: cargo test | |
| run: cargo test --all-targets |