Query documentation contracts #19
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: Query documentation contracts | |
| on: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - name: Prove harness and validator failure cases | |
| run: cargo test --manifest-path tools/query-harness/Cargo.toml --locked | |
| - name: Validate query matrices and documentation | |
| run: | | |
| cargo run --quiet --manifest-path tools/query-harness/Cargo.toml --locked -- contracts | |
| cargo run --quiet --manifest-path tools/query-harness/Cargo.toml --locked -- oracle validate |