Skip to content

Commit ca1a52d

Browse files
committed
fix golang version
1 parent b0a80fa commit ca1a52d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.evergreen.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
variables:
2-
2+
- &go_env
3+
XDG_CONFIG_HOME: ${go_base_path}${workdir}
4+
GO111MODULE: "on"
5+
GOROOT: "/opt/golang/go1.21"
36
functions:
47

58
"clone":
@@ -42,15 +45,13 @@ functions:
4245
type: setup
4346
params:
4447
working_dir: src/github.com/mongodb/mongodb-enterprise-kubernetes/tools/multicluster
45-
add_to_path:
46-
- src/github.com/mongodb/tools
47-
- src/github.com/mongodb/tools/linux_amd64
4848
include_expansions_in_env:
4949
- GITHUB_TOKEN
5050
- macos_notary_keyid
5151
- macos_notary_secret
5252
- workdir
5353
env:
54+
<<: *go_env
5455
MACOS_NOTARY_KEY: ${macos_notary_keyid}
5556
MACOS_NOTARY_SECRET: ${macos_notary_secret}
5657
script: |

0 commit comments

Comments
 (0)