1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-08-10 22:31:50 +02:00

[chore] Fix go-work Make target with the highest required Go version (#6285)

This is handy for `gopls` when working across multiple Go modules.
Currently `crosslink work` has a default value of `1.22` for `go` flag
which does not work for the current codebase.
The go 1.22.7 version is required in
`go.opentelemetry.io/otel/bridge/opentracing/test`.
This commit is contained in:
Robert Pająk
2025-02-13 16:03:38 +01:00
committed by GitHub
parent d9ab149e9d
commit 9d4c2f72f6

View File

@@ -123,7 +123,7 @@ vanity-import-fix: $(PORTO)
# Generate go.work file for local development.
.PHONY: go-work
go-work: $(CROSSLINK)
$(CROSSLINK) work --root=$(shell pwd)
$(CROSSLINK) work --root=$(shell pwd) --go=1.22.7
# Build