Add Cursor Cloud Agent integration #48
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| go: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| # //go:embed all:dist requires at least one file; dashboard assets are | |
| # gitignored and built separately. A tracked .gitkeep is the placeholder; | |
| # recreate it here so a bare checkout never fails the embed. | |
| - name: Ensure embed placeholder | |
| run: mkdir -p internal/server/dist && touch internal/server/dist/.gitkeep | |
| - name: Test | |
| run: go test ./... | |
| - name: Vet | |
| run: go vet ./... | |
| web: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: web | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3.14 | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Tests | |
| run: bun test | |
| - name: Typecheck | |
| run: bun x tsc -b --noEmit | |
| - name: Production build | |
| run: bun run build |