Skip to content

Add Hysteria2 Protocol #2564

Add Hysteria2 Protocol

Add Hysteria2 Protocol #2564

Triggered via pull request September 8, 2024 07:27
Status Failure
Total duration 41s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: transport/internet/hysteria2/conn.go#L15
File is not `gofumpt`-ed (gofumpt)
lint: transport/internet/hysteria2/dialer.go#L18
File is not `gofumpt`-ed (gofumpt)
lint: app/router/command/command_test.go#L100
File is not `gofumpt`-ed (gofumpt)
lint: transport/internet/hysteria2/dialer.go#L189
unnecessary conversion (unconvert)
lint: proxy/hysteria2/protocol.go#L58
unnecessary conversion (unconvert)
lint: transport/internet/hysteria2/hy2_transport_test.go#L129
ineffectual assignment to err (ineffassign)
lint: transport/internet/hysteria2/hub.go#L45
ST1003: method UdpHijacker should be UDPHijacker (stylecheck)
lint: infra/conf/v4/transport_internet.go#L150
ST1003: struct field UseUdpExtension should be UseUDPExtension (stylecheck)
lint: infra/vprotogen/main.go#L127
ST1005: error strings should not end with punctuation or newlines (stylecheck)
lint
issues found
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