Skip to content

Commit 9fc407d

Browse files
committed
ci: bump up golangci-lint to v1.55.0
Signed-off-by: Kohei Tokunaga <[email protected]>
1 parent 18c9e7e commit 9fc407d

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/checkout@v3
4040
- uses: golangci/golangci-lint-action@v3
4141
with:
42-
version: v1.54.2
42+
version: v1.55.0
4343
skip-cache: true
4444
args: --timeout=8m
4545

integration/remote/util/util_windows.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ func parseEndpoint(endpoint string) (string, string, error) {
117117
return "npipe", fmt.Sprintf("//%s%s", host, u.Path), nil
118118
} else if u.Scheme == "" {
119119
return "", "", fmt.Errorf("Using %q as endpoint is deprecated, please consider using full url format", endpoint)
120-
} else {
121-
return u.Scheme, "", fmt.Errorf("protocol %q not supported", u.Scheme)
122120
}
121+
return u.Scheme, "", fmt.Errorf("protocol %q not supported", u.Scheme)
123122
}
124123

125124
var tickCount = syscall.NewLazyDLL("kernel32.dll").NewProc("GetTickCount64")

0 commit comments

Comments
 (0)