You've already forked opentelemetry-go
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:
2
Makefile
2
Makefile
@@ -123,7 +123,7 @@ vanity-import-fix: $(PORTO)
|
|||||||
# Generate go.work file for local development.
|
# Generate go.work file for local development.
|
||||||
.PHONY: go-work
|
.PHONY: go-work
|
||||||
go-work: $(CROSSLINK)
|
go-work: $(CROSSLINK)
|
||||||
$(CROSSLINK) work --root=$(shell pwd)
|
$(CROSSLINK) work --root=$(shell pwd) --go=1.22.7
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user