Skip to content

Commit

Permalink
Bump google.golang.org/grpc from 1.56.0 to 1.60.0 (#73)
Browse files Browse the repository at this point in the history
* Bump google.golang.org/grpc from 1.56.0 to 1.60.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.0 to 1.60.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.56.0...v1.60.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump deps

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nhatthm <[email protected]>
  • Loading branch information
dependabot[bot] and nhatthm authored Dec 13, 2023
1 parent 916db23 commit bc117ad
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 1,531 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

env:
GO_VERSION: "1.19.x"
GO_VERSION: "1.21.x"

jobs:
lint:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:

env:
GO111MODULE: "on"
GO_LATEST_VERSION: "1.19.x"
GO_LATEST_VERSION: "1.21.x"

jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
go-version: [ 1.17.x, 1.18.x, 1.19.x, 1.20.x ]
go-version: [ 1.19.x, 1.20.x, 1.21.x ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
Expand Down
2 changes: 2 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ linters:
enable-all: true
disable:
- deadcode
- depguard
- exhaustivestruct
- exhaustruct
- forbidigo
Expand All @@ -41,6 +42,7 @@ linters:
- scopelint
- structcheck
- tagliatelle
- testifylint
- testpackage
- varcheck
- varnamelen
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ MODULE_NAME=grpcsteps

VENDOR_DIR = vendor

GOLANGCI_LINT_VERSION ?= v1.52.2
GOLANGCI_LINT_VERSION ?= v1.55.2

GO ?= go
GOLANGCI_LINT ?= $(shell go env GOPATH)/bin/golangci-lint-$(GOLANGCI_LINT_VERSION)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ it easy to run tests with grpc server and client.

## Prerequisites

- `Go >= 1.17`
- `Go >= 1.19`

[<sub><sup>[table of contents]</sup></sub>](#table-of-contents)

Expand Down
4 changes: 2 additions & 2 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func TestClient_GetItem(t *testing.T) {
{
scenario: "NotFound",
handler: func(ctx context.Context, request *grpctest.GetItemRequest) (*grpctest.Item, error) {
return nil, status.Errorf(codes.NotFound, "Item %d not found", request.Id)
return nil, status.Errorf(codes.NotFound, "Item %d not found", request.GetId())
},
},
{
Expand Down Expand Up @@ -283,7 +283,7 @@ func TestClient_TransformItems(t *testing.T) {
return err
}

item.Name = fmt.Sprintf("Modified %s", item.Name)
item.Name = fmt.Sprintf("Modified %s", item.GetName())

if err := srv.Send(item); err != nil {
return err
Expand Down
25 changes: 13 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
module github.com/godogx/grpcsteps

go 1.17
go 1.19

require (
github.com/cucumber/godog v0.12.6
github.com/cucumber/godog v0.13.0
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
github.com/stretchr/testify v1.8.4
github.com/swaggest/assertjson v1.9.0
go.nhat.io/grpcmock v0.23.0
google.golang.org/grpc v1.56.0
go.nhat.io/grpcmock v0.24.0
google.golang.org/grpc v1.60.0
google.golang.org/protobuf v1.31.0
)

require (
github.com/bool64/shared v0.1.5 // indirect
github.com/cucumber/gherkin-go/v19 v19.0.3 // indirect
github.com/cucumber/messages-go/v16 v16.0.1 // indirect
github.com/cucumber/gherkin/go/v26 v26.2.0 // indirect
github.com/cucumber/messages/go/v21 v21.0.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/gofrs/uuid v4.4.0+incompatible // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-memdb v1.3.4 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/golang-lru v1.0.2 // indirect
github.com/iancoleman/orderedmap v0.3.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/sergi/go-diff v1.3.1 // indirect
github.com/spf13/afero v1.9.5 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/yudai/gojsondiff v1.0.0 // indirect
github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect
go.nhat.io/matcher/v2 v2.0.0 // indirect
go.nhat.io/wait v0.1.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
1,544 changes: 32 additions & 1,512 deletions go.sum

Large diffs are not rendered by default.

0 comments on commit bc117ad

Please sign in to comment.