fix final assistant response not streamed to WebUI; replace confirm()… #77
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: test | |
| 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 | |
| run: go build -o /tmp/kode-test github.com/BackendStack21/kode/cmd/kode && chmod +x /tmp/kode-test | |
| - name: test | |
| run: KODE_BINARY=/tmp/kode-test go test ./... -race -coverprofile=coverage.out -covermode=atomic -count=1 | |
| - name: coverage | |
| run: go tool cover -func=coverage.out | |
| - name: vet | |
| run: go vet ./... |