fix: revert to neo4j v6 and workaround Go 1.24 Windows compiler bug with -p=1

Go 1.24 has an internal compiler race condition on Windows that causes
'package without types' errors during parallel compilation. Setting
GOFLAGS="-p=1" serializes the build and avoids triggering the bug.
This commit is contained in:
wizardchen
2026-04-11 22:08:02 +08:00
committed by lyingbug
parent 9525f08038
commit a655a25cf8
7 changed files with 8 additions and 7 deletions
+1
View File
@@ -220,6 +220,7 @@ jobs:
fi
if [ "${{ runner.os }}" = "Windows" ]; then
NSIS_FLAG="-nsis"
export GOFLAGS="-p=1"
fi
cd cmd/desktop