Update rust-ci.yml #3
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 | |
| 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 个核心领域(器官) | |
| # 我们命令虚拟机去克隆你另外的那些仓库到对应的文件夹 | |
| - 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. 初始化审计环境 | |
| - name: "Initialize Toolchain" | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| # 4. 执行全栈逻辑审计 | |
| - name: "Audit: Full Stack Logic Check" | |
| # 现在所有文件夹都齐了,cargo check 终于可以闭环运行了 | |
| run: cargo check --workspace --all-targets |