File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1919 with :
2020 go-version : 1.21
2121 id : go
22+ - name : Verify Go code style and module consistency
23+ run : |
24+ go mod tidy
25+ go fmt ./...
26+ git diff --exit-code
2227 - name : Run Unit test
2328 run : make test
2429 - name : Build
Original file line number Diff line number Diff line change 11package cmd
22
33import (
4+ "encoding/json"
45 "fmt"
56 "os"
6- "encoding/json"
77
88 "github.com/hyperledger-labs/yui-relayer/config"
99 "github.com/spf13/cobra"
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ require (
2323 github.com/spf13/pflag v1.0.5
2424 github.com/spf13/viper v1.18.2
2525 go.opentelemetry.io/contrib/bridges/otelslog v0.10.0
26+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0
2627 go.opentelemetry.io/otel v1.35.0
2728 go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.11.0
2829 go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.35.0
@@ -188,7 +189,6 @@ require (
188189 go.opencensus.io v0.24.0 // indirect
189190 go.opentelemetry.io/auto/sdk v1.1.0 // indirect
190191 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // indirect
191- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 // indirect
192192 go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0 // indirect
193193 go.opentelemetry.io/proto/otlp v1.5.0 // indirect
194194 go.uber.org/multierr v1.10.0 // indirect
You can’t perform that action at this time.
0 commit comments