Skip to content

Commit

Permalink
chore: update golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Oct 21, 2023
1 parent 16e17bf commit 5b2a839
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions api/v2/v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 5b2a839

Please sign in to comment.