diff --git a/Makefile b/Makefile index bc4aad7..e27383b 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ $(error Submodule at $(OTEL_PROTO_SUBMODULE) is not checked out, use "git submod endif GO := go -GO_VERSION := 1.17 +GO_VERSION := 1.22 GO_MOD_ROOT := go.opentelemetry.io/proto ALL_GO_MOD_DIRS := $(shell find . -type f -name 'go.mod' -exec dirname {} \; | sort) OTEL_GO_MOD_DIRS := $(filter-out $(TOOLS_MOD_DIR), $(ALL_GO_MOD_DIRS)) @@ -165,7 +165,7 @@ go-mod-tidy/%: DIR=$* go-mod-tidy/%: @echo "$(GO) mod tidy in $(DIR)" \ && cd $(DIR) \ - && $(GO) mod tidy -compat=1.21 + && $(GO) mod tidy -compat=1.22 test: $(OTEL_GO_MOD_DIRS:%=test/%) test/%: DIR=$*