From 7563dc40bc3d235bef81786a7e3dd11a97e0e2e1 Mon Sep 17 00:00:00 2001 From: Sergio Andres Virviescas Santana Date: Mon, 17 Aug 2020 11:47:56 +0200 Subject: [PATCH] Upgrade golangci-lint to v1.30.0 --- .travis.yml | 2 +- requestid_test.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 17ded8c..d816d31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ jobs: include: - stage: lint script: - - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.29.0 + - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0 - golangci-lint run - stage: cross compilation diff --git a/requestid_test.go b/requestid_test.go index 364e6a7..19b41d1 100644 --- a/requestid_test.go +++ b/requestid_test.go @@ -58,6 +58,7 @@ func Test_New(t *testing.T) { //nolint:funlen err := New(Config{})(ctx) if (err != nil) != tt.want.err { t.Errorf("RequestIDMiddleware() unexpected error: %v", err) + return }