elastic / elastic-agent-system-metrics

Apache License 2.0
0 stars 23 forks source link

Update some dependencies, change how go is installed in windows #146

Closed michel-laterman closed 7 months ago

michel-laterman commented 7 months ago

Update a bunch of dependencies Use gvm through the powershell on windows to install go.

pierrehilbert commented 7 months ago

We have some failures here:


C:\Users\buildkite\go\pkg\mod\go.opentelemetry.io\otel@v1.25.0\attribute\set.go:10:2: package slices is not in GOROOT (C:\Program Files\Go\src\slices)
note: imported by a module that requires go 1.21
michel-laterman commented 7 months ago

I think there's an issue with how the windows tests are setup, the incorect version of go is being used:

Chocolatey installed 1/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Refreshing environment variables from the registry for powershell.exe. Please wait...
Finished
go version go1.20.5 windows/amd64