Update Cargo.toml #6
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: "Organism Vitality & Protocol Audit" | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| # 🛡️ 强制使用最新 Node 环境 | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| integrity: | |
| name: "Full Organism Assembly & Audit" | |
| runs-on: ubuntu-latest | |
| steps: | |
| # 1. 下载总控仓库(骨架) | |
| - name: "Checkout Root Workspace" | |
| uses: actions/checkout@v4 | |
| # 2. ⚡ 核心:将 6 个核心领域(器官)克隆到对应的子目录 | |
| # 这样虚拟机里就有了 aicent/ rttp/ 等文件夹,Cargo 就能找到它们了 | |
| - name: "Assemble Organism: Brain" | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: Aicent-Stack/aicent | |
| path: aicent | |
| - name: "Assemble Organism: Nerves" | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: Aicent-Stack/rttp | |
| path: rttp | |
| - name: "Assemble Organism: Immunity" | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: Aicent-Stack/rpki | |
| path: rpki | |
| - name: "Assemble Organism: Blood" | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: Aicent-Stack/zcmk | |
| path: zcmk | |
| - name: "Assemble Organism: Body" | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: Aicent-Stack/gtiot | |
| path: gtiot | |
| - name: "Assemble Organism: Hive" | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: Aicent-Stack/aicent-net | |
| path: aicent-net | |
| - name: "Assemble Organism: Demo Suite" | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: Aicent-Stack/aicent-demo | |
| path: aicent-demo | |
| # 3. 初始化 Rust 环境 | |
| - name: "Initialize Toolchain" | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| # 4. 执行全栈逻辑审计 | |
| - name: "Audit: Full Stack Logic Check" | |
| # 此时所有文件夹在虚拟机里已经对齐,不再报错找不到目录 | |
| run: cargo check --workspace --all-targets |