hysteria2, grpc: fix the use of GetTLSConfig (#3176) #2591
Annotations
10 errors and 2 warnings
lint:
transport/internet/system_listener.go#L94
ifElseChain: rewrite if-else to switch statement (gocritic)
|
lint:
main/plugins/plugin_pprof/plugin_pprof.go#L4
File is not `gofumpt`-ed (gofumpt)
|
lint:
main/plugins/plugin_pprof/plugin_pprof.go#L6
File is not `gofumpt`-ed (gofumpt)
|
lint:
transport/internet/hysteria2/conn.go#L14
File is not `gofumpt`-ed (gofumpt)
|
lint:
main/plugins/plugin_pprof/plugin_pprof.go#L7
File is not `goimports`-ed with -local github.com/v2fly/v2ray-core (goimports)
|
lint:
transport/internet/tls/ech.go#L15
File is not `goimports`-ed with -local github.com/v2fly/v2ray-core (goimports)
|
lint:
testing/scenarios/common.go#L16
File is not `goimports`-ed with -local github.com/v2fly/v2ray-core (goimports)
|
lint:
transport/internet/hysteria2/dialer.go#L193
unnecessary conversion (unconvert)
|
lint:
proxy/hysteria2/protocol.go#L62
unnecessary conversion (unconvert)
|
lint:
proxy/vlite/inbound/inbound.go#L149
enableInterface - result 0 (error) is always nil (unparam)
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/v2ray-core/v2ray-core. Supported file pattern: go.sum
|