feat: add build tags support for Go tests

- Add build-tags input parameter to go-test action
- Add build-tags input to go-pr workflow with CGO support
- Pass build-tags to go-test action in go-release-cgo workflow
- Enable CGO_ENABLED=1 in go-pr test job

This allows projects requiring CGO and build tags (e.g., SQLite FTS5)
to properly compile and test with sqlite-vec and other CGO dependencies.

Fixes test failures for projects using sqlite-vec-go-bindings.
This commit is contained in:
2026-01-07 21:11:42 +00:00
parent edf7f3f2b8
commit 8f7f235dde
3 changed files with 25 additions and 2 deletions
+1
View File
@@ -91,6 +91,7 @@ jobs:
uses: lukaszraczylo/shared-actions/.github/actions/go-test@main
with:
go-version: ${{ inputs.go-version }}
build-tags: "fts5"
frontend:
name: Build Frontend