docs: split agent prompt for readability #100
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] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.26" | |
| - name: Install golangci-lint | |
| run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.6 | |
| - name: Build | |
| run: make build | |
| - name: Test | |
| run: make test | |
| - name: Lint | |
| run: make lint | |
| - name: Fuzz FTS5 sanitizer | |
| run: cd knowledgeprim && go test -fuzz=FuzzSanitizeFTS5Query -fuzztime=30s ./internal/store/ | |
| vulncheck: | |
| name: Vulnerability Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.26" | |
| - name: Install govulncheck | |
| run: go install golang.org/x/vuln/cmd/govulncheck@latest | |
| - name: Run govulncheck | |
| run: | | |
| cd primkit && govulncheck ./... | |
| cd ../taskprim && govulncheck ./... | |
| cd ../stateprim && govulncheck ./... | |
| cd ../knowledgeprim && govulncheck ./... | |
| cd ../queueprim && govulncheck ./... | |
| format: | |
| name: Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.26" | |
| - name: Install gofumpt | |
| run: go install mvdan.cc/gofumpt@latest | |
| - name: Check formatting | |
| run: | | |
| make fmt | |
| git diff --exit-code || (echo "::error::Code is not formatted. Run 'make fmt' and commit." && exit 1) | |
| docs: | |
| name: Docs Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.26" | |
| - name: Check docs are up to date | |
| run: make docs-check |