Skip to content

Commit 304cf10

Browse files
GODRIVER-3334 export go env variables
1 parent ab1eb95 commit 304cf10

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

langchaingo-golang/run.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
set -eu
44

5-
cd langchaingo/vectorstores/mongovector
5+
GO_VERSION="go1.22"
6+
7+
cd vectorstores/mongovector
8+
9+
export PATH="$PATH:/opt/golang/$GO_VERSION/bin"
10+
export GOROOT="/opt/golang/$GO_VERSION"
611

712
go test -v -failfast

0 commit comments

Comments
 (0)