Skip to content

Commit

Permalink
fix(612): validate git status if clean after lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lsytj0413 committed Feb 24, 2025
1 parent f140dab commit fb0b78a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pr_build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ jobs:
with:
version: v1.61.0
args: --timeout=10m -v
- name: Check git status if clean
uses: CatChen/check-git-status-action@v1
with:
fail-if-not-clean: true

- name: Test
run: make test
Expand Down
5 changes: 2 additions & 3 deletions common/client_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@ import (

grpcprometheus "github.com/grpc-ecosystem/go-grpc-prometheus"
"github.com/pkg/errors"
"github.com/streamnative/oxia/oxia/auth"
"github.com/streamnative/oxia/proto"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/credentials/insecure"
"google.golang.org/grpc/health/grpc_health_v1"
"google.golang.org/grpc/keepalive"
"google.golang.org/grpc/peer"

"github.com/streamnative/oxia/oxia/auth"
"github.com/streamnative/oxia/proto"
)

const DefaultRpcTimeout = 30 * time.Second
Expand Down

0 comments on commit fb0b78a

Please # to comment.