Release v0.8.16 #338
Workflow file for this run
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: | |
| pull_request: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Cache protoc | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ runner.tool_cache }}/protoc | |
| key: protoc-${{ runner.os }}-${{ runner.arch }}-v28.3 | |
| - uses: arduino/setup-protoc@v3 | |
| continue-on-error: true | |
| with: | |
| version: "28.3" | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - run: cargo fmt --check | |
| - run: cargo clippy -- -D warnings | |
| - run: cargo test | |
| version-sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: bash scripts/check-version-sync.sh | |
| climb-hygiene: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: bash scripts/check-no-climb-tracked.sh | |
| contracts: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Cache protoc | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ runner.tool_cache }}/protoc | |
| key: protoc-${{ runner.os }}-${{ runner.arch }}-v28.3 | |
| - uses: arduino/setup-protoc@v3 | |
| continue-on-error: true | |
| with: | |
| version: "28.3" | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - uses: astral-sh/setup-uv@v4 | |
| - run: cargo build --release --locked | |
| - run: uv sync --extra dev | |
| - run: uv run pytest tests/ -v --mcp-cmd "./target/release/biomcp serve" | |
| - run: uv run mkdocs build --strict | |
| # Stable PR-blocking executable spec gate. Volatile live-network headings | |
| # are excluded here and covered by spec-smoke.yml. | |
| spec-stable: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Cache protoc | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ runner.tool_cache }}/protoc | |
| key: protoc-${{ runner.os }}-${{ runner.arch }}-v28.3 | |
| - uses: arduino/setup-protoc@v3 | |
| continue-on-error: true | |
| with: | |
| version: "28.3" | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - uses: astral-sh/setup-uv@v4 | |
| # Build the release binary first so make spec exercises target/release/biomcp, | |
| # not a stale editable install from .venv/bin. | |
| - run: cargo build --release --locked | |
| - run: make spec-pr |