Merge pull request #9290 from ktock/golangci-lint-1.55.0
ci: bump up golangci-lint to v1.55.0
This commit is contained in:
commit
f74ca32b89
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: golangci/golangci-lint-action@v3
|
- uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
version: v1.54.2
|
version: v1.55.0
|
||||||
skip-cache: true
|
skip-cache: true
|
||||||
args: --timeout=8m
|
args: --timeout=8m
|
||||||
|
|
||||||
|
@ -117,9 +117,8 @@ func parseEndpoint(endpoint string) (string, string, error) {
|
|||||||
return "npipe", fmt.Sprintf("//%s%s", host, u.Path), nil
|
return "npipe", fmt.Sprintf("//%s%s", host, u.Path), nil
|
||||||
} else if u.Scheme == "" {
|
} else if u.Scheme == "" {
|
||||||
return "", "", fmt.Errorf("Using %q as endpoint is deprecated, please consider using full url format", endpoint)
|
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")
|
var tickCount = syscall.NewLazyDLL("kernel32.dll").NewProc("GetTickCount64")
|
||||||
|
Loading…
Reference in New Issue
Block a user