feat(mcp): add MCP Apps (ui://) extension and read-only Project Status app #156
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: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Go | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v7 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: Test | |
| run: go test ./... | |
| - name: Vet | |
| run: go vet ./... | |
| - name: Race | |
| run: go test -race ./... | |
| views: | |
| name: Views bundle freshness | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v7 | |
| - name: Set up Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version-file: internal/app/views/.bun-version | |
| # The embedded dist/*.html bundle is a committed build artifact. Rebuild it | |
| # from source with the pinned Bun and fail if the committed bundle drifted, | |
| # so a source edit that skipped `bun run build` cannot ship a stale view. | |
| # The build has no third-party dependencies (build.ts uses only Bun | |
| # built-ins), so it needs no `bun install` and stays hermetic offline. | |
| - name: Rebuild embedded views bundle | |
| working-directory: internal/app/views | |
| run: bun run build | |
| - name: Fail if committed bundle is stale | |
| run: git diff --exit-code -- internal/app/views/dist |