feat(deploy): add four-host auto-deploy with live chain client #921
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: ci | |
| on: | |
| push: | |
| branches: [dev] | |
| pull_request: | |
| branches: [dev] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: -Dwarnings | |
| jobs: | |
| ci: | |
| name: fmt · clippy · test · deny · xtask | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: "1.96.0" | |
| components: rustfmt, clippy | |
| - name: Cache cargo | |
| uses: Swatinem/rust-cache@v2 | |
| - name: cargo fmt --check | |
| run: cargo fmt --all -- --check | |
| - name: cargo clippy -D warnings | |
| run: cargo clippy --workspace --all-targets -- -D warnings | |
| - name: cargo test | |
| run: cargo test --workspace | |
| - name: Install cargo-deny | |
| uses: EmbarkStudios/cargo-deny-action@v2 | |
| with: | |
| command: check | |
| # cargo-deny ≥0.17 dropped bare --all-features; graph features live in deny.toml | |
| - name: xtask loc-cap | |
| run: cargo run -p xtask -- loc-cap | |
| - name: xtask consensus-lint | |
| run: cargo run -p xtask -- consensus-lint | |
| - name: xtask spec-check | |
| run: cargo run -p xtask -- spec-check | |
| - name: xtask agent-challenge-check | |
| run: cargo run -p xtask -- agent-challenge-check | |
| - name: xtask hypertraining-check | |
| run: cargo run -p xtask -- hypertraining-check | |
| - name: xtask external-docs-check | |
| run: cargo run -p xtask -- external-docs-check |