docs(designer): refresh cortex-code pin to 81802b1 #1
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
| # cortex-tui-designer CI | |
| name: ci | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| test: | |
| name: test-and-dump | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout designer | |
| uses: actions/checkout@v4 | |
| - name: Checkout cortex-code (product tui path dep) | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: CortexLM/cortex-code | |
| ref: dev | |
| path: cortex-code | |
| - name: Switch Cargo.toml to CI layout | |
| run: ./scripts/use-layout.sh ci | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: stable | |
| - name: Cache cargo | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: ". -> target" | |
| - name: cargo test | |
| run: cargo test | |
| - name: dump home-motd | |
| run: cargo run -- dump --scenario home-motd | |
| - name: verify.sh | |
| run: ./scripts/verify.sh |