diff --git a/tests/lib/prepare-restore.sh b/tests/lib/prepare-restore.sh index 68ff3d197d5..e9811eff56e 100755 --- a/tests/lib/prepare-restore.sh +++ b/tests/lib/prepare-restore.sh @@ -614,7 +614,9 @@ prepare_project() { # major differences: # - map keys are sorted by default # - with --yaml-input, can parse YAML - go install github.com/itchyny/gojq/cmd/gojq@v0.12.16 + GOBIN=$PROJECT_PATH/tests/bin \ + CGO_ENABLED=0 \ + go install github.com/itchyny/gojq/cmd/gojq@v0.12.16 } prepare_project_each() {