docs(runtime): describe explicit runtime capability flow #14
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: Headless Workflow Contract | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| contract-and-parity: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache Cargo | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Run workflow service tests | |
| run: cargo test -p pantograph-workflow-service | |
| - name: Check frontend HTTP adapter crate | |
| run: | | |
| cargo check -p pantograph-frontend-http-adapter | |
| cargo test -p pantograph-frontend-http-adapter | |
| - name: Run UniFFI adapter mode tests | |
| run: | | |
| cargo test -p pantograph-uniffi --no-default-features | |
| cargo test -p pantograph-uniffi --features frontend-http | |
| - name: Check Rustler adapter modes | |
| run: | | |
| cargo check -p pantograph_rustler --tests --no-default-features | |
| cargo check -p pantograph_rustler --tests --features frontend-http |