Skip to content

Commit

Permalink
drop support for go 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed Apr 23, 2024
1 parent 2332379 commit 634c275
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -115,7 +115,7 @@ jobs:
compatibility-test:
strategy:
matrix:
go-version: ["1.22.2", "1.21", "1.20"]
go-version: ["1.22.2", "1.21"]
os: [ubuntu-latest, macos-latest, windows-latest]
arch: ["386", amd64]
exclude:
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -150,9 +150,9 @@ lint: $(GOLANGCI_LINT) $(MISSPELL) govulncheck
done
$(MISSPELL) -w $(ALL_DOCS)
set -e; for dir in $(ALL_GO_MOD_DIRS) $(TOOLS_MOD_DIR); do \
echo "go mod tidy -compat=1.20 in $${dir}"; \
echo "go mod tidy -compat=1.21 in $${dir}"; \
(cd "$${dir}" && \
go mod tidy -compat=1.20); \
go mod tidy -compat=1.21); \
done

generate: $(STRINGER) $(PROTOC)
Expand Down Expand Up @@ -191,7 +191,7 @@ govulncheck/%: | $(GOVULNCHECK)

.PHONY: gotidy
gotidy:
$(MAKE) for-all-mod CMD="go mod tidy -compat=1.20"
$(MAKE) for-all-mod CMD="go mod tidy -compat=1.21"

.PHONY: update-dep
update-dep:
Expand Down
2 changes: 1 addition & 1 deletion detectors/gcp/go.mod
@@ -1,6 +1,6 @@
module github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp

go 1.20
go 1.21

require (
cloud.google.com/go/compute/metadata v0.2.3
Expand Down
2 changes: 1 addition & 1 deletion go.mod
@@ -1,6 +1,6 @@
module github.com/GoogleCloudPlatform/opentelemetry-operations-go

go 1.20
go 1.21

retract (
v1.8.0
Expand Down
2 changes: 1 addition & 1 deletion internal/cloudmock/go.mod
@@ -1,6 +1,6 @@
module github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock

go 1.20
go 1.21

require (
cloud.google.com/go/logging v1.7.0
Expand Down
1 change: 1 addition & 0 deletions internal/cloudmock/go.sum
Expand Up @@ -11,6 +11,7 @@ github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs=
golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
Expand Down
2 changes: 1 addition & 1 deletion tools/go.mod
@@ -1,6 +1,6 @@
module github.com/GoogleCloudPlatform/opentelemetry-operations-go/tools

go 1.20
go 1.21

require (
github.com/client9/misspell v0.3.4
Expand Down

0 comments on commit 634c275

Please sign in to comment.