Skip to content

Commit

Permalink
remove replace dep for trace (#503)
Browse files Browse the repository at this point in the history
function in main line now


googleapis/google-cloud-go#4665 (comment)


bump to go 1.23

---------

Signed-off-by: Kenny Leung <[email protected]>
  • Loading branch information
k4leung4 authored Aug 20, 2024
1 parent d3201f6 commit 07720e5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
go-version-file: './go.mod'
check-latest: true

- run: |
- name: Test
run: |
# Exclude running unit tests against third_party repos.
go test -race ./...
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.55
version: v1.60
args: --timeout=5m

lint:
Expand Down
10 changes: 3 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
module github.com/chainguard-dev/terraform-infra-common

go 1.22.5

// This is to allow pubsub tracing to happen
// Remove once function in normal release
replace cloud.google.com/go/pubsub => cloud.google.com/go/pubsub v1.42.0-beta.otel.trace
go 1.23.0

require (
chainguard.dev/sdk v0.1.23
cloud.google.com/go/bigquery v1.62.0
cloud.google.com/go/compute/metadata v0.5.0
cloud.google.com/go/profiler v0.4.1
cloud.google.com/go/pubsub v1.41.0
cloud.google.com/go/pubsub v1.42.0
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.24.1
github.com/avvmoto/buf-readerat v0.0.0-20171115124131-a17c8cb89270
github.com/chainguard-dev/clog v1.5.0
Expand All @@ -32,7 +28,6 @@ require (
gocloud.dev v0.39.0
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8
golang.org/x/oauth2 v0.22.0
golang.org/x/time v0.6.0
google.golang.org/api v0.192.0
)

Expand Down Expand Up @@ -109,6 +104,7 @@ require (
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/time v0.6.0 // indirect
golang.org/x/tools v0.22.0 // indirect
golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9 // indirect
google.golang.org/genproto v0.0.0-20240812133136-8ffd90a71988 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ cloud.google.com/go/monitoring v1.20.4 h1:zwcViK7mT9SV0kzKqLOI3spRadvsmvw/R9z1MH
cloud.google.com/go/monitoring v1.20.4/go.mod h1:v7F/UcLRw15EX7xq565N7Ae5tnYEE28+Cl717aTXG4c=
cloud.google.com/go/profiler v0.4.1 h1:Q7+lOvikTGMJ/IAWocpYYGit4SIIoILmVZfEEWTORSY=
cloud.google.com/go/profiler v0.4.1/go.mod h1:LBrtEX6nbvhv1w/e5CPZmX9ajGG9BGLtGbv56Tg4SHs=
cloud.google.com/go/pubsub v1.42.0-beta.otel.trace h1:7n/CymiBOE5Rpv5RAlWonqYxCn0QazRQKfF4FNc/S1Y=
cloud.google.com/go/pubsub v1.42.0-beta.otel.trace/go.mod h1:L2f61+4yMjo64DIchoLYCiqqCo/WSeTFcYqM65mDWCM=
cloud.google.com/go/pubsub v1.42.0 h1:PVTbzorLryFL5ue8esTS2BfehUs0ahyNOY9qcd+HMOs=
cloud.google.com/go/pubsub v1.42.0/go.mod h1:KADJ6s4MbTwhXmse/50SebEhE4SmUwHi48z3/dHar1Y=
cloud.google.com/go/storage v1.43.0 h1:CcxnSohZwizt4LCzQHWvBf1/kvtHUn7gk9QERXPyXFs=
cloud.google.com/go/storage v1.43.0/go.mod h1:ajvxEa7WmZS1PxvKRq4bq0tFT3vMd502JwstCcYv0Q0=
cloud.google.com/go/trace v1.10.12 h1:GoGZv1iAXEa73HgSGNjRl2vKqp5/f2AeKqErRFXA2kg=
Expand Down

0 comments on commit 07720e5

Please sign in to comment.