diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index 1d48b67..4123319 100644 --- a/.github/workflows/backend-tests.yml +++ b/.github/workflows/backend-tests.yml @@ -25,7 +25,8 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - args: -v + version: v1.54.1 + args: --verbose --timeout=3m skip-cache: true go-tests: diff --git a/api/v2/v2.go b/api/v2/v2.go index f13f1c6..8d27f21 100644 --- a/api/v2/v2.go +++ b/api/v2/v2.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - grpcRuntime "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/improbable-eng/grpc-web/go/grpcweb" "github.com/labstack/echo/v4" "google.golang.org/grpc" @@ -68,7 +68,7 @@ func (s *APIV2Service) RegisterGateway(ctx context.Context, e *echo.Echo) error return err } - gwMux := grpcRuntime.NewServeMux() + gwMux := runtime.NewServeMux() if err := apiv2pb.RegisterSubscriptionServiceHandler(context.Background(), gwMux, conn); err != nil { return err }