2
0

fix: enable CGO for plugin support in Unix builds
Some checks failed
Build and Release / Create Release (push) Successful in 0s
Build and Release / Unit Tests (push) Successful in 3m15s
Build and Release / Integration Tests (PostgreSQL) (push) Successful in 5m7s
Build and Release / Lint (push) Successful in 5m23s
Build and Release / Build Binaries (amd64, darwin, linux-latest) (push) Failing after 2m34s
Build and Release / Build Binaries (amd64, linux, linux-latest) (push) Successful in 2m50s
Build and Release / Build Binaries (arm64, darwin, linux-latest) (push) Failing after 3m14s
Build and Release / Build Binaries (arm64, linux, linux-latest) (push) Failing after 2m8s
Build and Release / Build Binaries (amd64, windows, windows-latest) (push) Successful in 8h6m20s
Trigger Vault Plugin Rebuild / Trigger Vault Rebuild (push) Failing after 20m1s

Go plugin package requires CGO_ENABLED=1 to work properly.
Without this, plugin loading code is stubbed out.
This commit is contained in:
2026-01-17 19:45:52 -05:00
parent 699622753f
commit ebf6edd8db

View File

@@ -280,6 +280,7 @@ jobs:
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: 1
TAGS: bindata sqlite sqlite_unlock_notify
run: |
VERSION=$(git describe --tags --always 2>/dev/null | sed "s/-gitcaddy//" || echo "dev")