Skip to content

Commit

Permalink
[chore] Fix go-work Make target with the highest required Go version (#…
Browse files Browse the repository at this point in the history
…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`.
  • Loading branch information
pellared authored Feb 13, 2025
1 parent d9ab149 commit 9d4c2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9d4c2f7

Please sign in to comment.