Skip to content

Commit

Permalink
fixup: Makefile update compat to GO 1.22
Browse files Browse the repository at this point in the history
go.mod was updated with ad54459

Signed-off-by: Florian Lehner <[email protected]>
  • Loading branch information
florianl committed Nov 28, 2024
1 parent 39759ac commit 9c93460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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=$*
Expand Down

0 comments on commit 9c93460

Please sign in to comment.