From 9fc407d8cf534d1b2c25698cd790e85a9935109c Mon Sep 17 00:00:00 2001 From: Kohei Tokunaga Date: Tue, 24 Oct 2023 09:23:28 +0900 Subject: [PATCH] ci: bump up golangci-lint to v1.55.0 Signed-off-by: Kohei Tokunaga --- .github/workflows/ci.yml | 2 +- integration/remote/util/util_windows.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec1fa95aa..56d76b1b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@v3 - uses: golangci/golangci-lint-action@v3 with: - version: v1.54.2 + version: v1.55.0 skip-cache: true args: --timeout=8m diff --git a/integration/remote/util/util_windows.go b/integration/remote/util/util_windows.go index 51d1b881a..59b94dd74 100644 --- a/integration/remote/util/util_windows.go +++ b/integration/remote/util/util_windows.go @@ -117,9 +117,8 @@ func parseEndpoint(endpoint string) (string, string, error) { return "npipe", fmt.Sprintf("//%s%s", host, u.Path), nil } else if u.Scheme == "" { return "", "", fmt.Errorf("Using %q as endpoint is deprecated, please consider using full url format", endpoint) - } else { - return u.Scheme, "", fmt.Errorf("protocol %q not supported", u.Scheme) } + return u.Scheme, "", fmt.Errorf("protocol %q not supported", u.Scheme) } var tickCount = syscall.NewLazyDLL("kernel32.dll").NewProc("GetTickCount64")