Add show command and GET /api/memories for reading single memories #19
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: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.24' | |
| - name: Build UI (required for embed) | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| - name: Build UI assets | |
| run: | | |
| cd ui && npm ci && npm run build && cd .. | |
| cp -r ui/dist cmd/continuity/ui | |
| - name: Test | |
| run: go test ./... -v | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.24' | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| - name: Build UI | |
| run: | | |
| cd ui && npm ci && npm run build && cd .. | |
| cp -r ui/dist cmd/continuity/ui | |
| - name: Build binary | |
| run: go build -o continuity ./cmd/continuity | |
| - name: Verify binary | |
| run: ./continuity version |