From 245db1156fefb260d09b304a82b510c2dbf51607 Mon Sep 17 00:00:00 2001 From: Steve Coffman Date: Tue, 6 Jun 2023 19:39:50 -0400 Subject: [PATCH] Update golangci-lint to latest Signed-off-by: Steve Coffman --- .github/workflows/lint.yml | 2 +- codegen/testserver/followschema/fields_order_test.go | 2 +- codegen/testserver/followschema/ptr_to_ptr_input_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 86b2f38367c..a53bb83b911 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -46,7 +46,7 @@ jobs: with: go-version: ${{ matrix.go }} - name: golangci-lint - uses: golangci/golangci-lint-action@v3.4.0 + uses: golangci/golangci-lint-action@v3.5.0 with: version: latest # skip cache because of flaky behaviors diff --git a/codegen/testserver/followschema/fields_order_test.go b/codegen/testserver/followschema/fields_order_test.go index 693f0c852e3..d521c8fc995 100644 --- a/codegen/testserver/followschema/fields_order_test.go +++ b/codegen/testserver/followschema/fields_order_test.go @@ -29,7 +29,7 @@ func TestFieldsOrder(t *testing.T) { ret = &FieldsOrderPayload{ FirstFieldValue: in.FirstField, } - return + return ret, nil } t.Run("firstField", func(t *testing.T) { diff --git a/codegen/testserver/followschema/ptr_to_ptr_input_test.go b/codegen/testserver/followschema/ptr_to_ptr_input_test.go index bb644e492b4..ab40d1d68da 100644 --- a/codegen/testserver/followschema/ptr_to_ptr_input_test.go +++ b/codegen/testserver/followschema/ptr_to_ptr_input_test.go @@ -67,7 +67,7 @@ func TestPtrToPtr(t *testing.T) { } } } - return + return ret, err } t.Run("pointer to pointer input missing", func(t *testing.T) {