Skip to content

Some fixes about Hysteria 2 (#3147) #2569

Some fixes about Hysteria 2 (#3147)

Some fixes about Hysteria 2 (#3147) #2569

Triggered via push September 8, 2024 16:39
Status Failure
Total duration 21s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: app/router/command/command_test.go#L100
File is not `gofumpt`-ed (gofumpt)
lint: main/commands/run.go#L169
printf: non-constant format string in call to github.com/v2fly/v2ray-core/v5/main/commands/base.Fatalf (govet)
lint: infra/vprotogen/main.go#L96
printf: non-constant format string in call to fmt.Errorf (govet)
lint: infra/vprotogen/main.go#L127
ST1005: error strings should not end with punctuation or newlines (stylecheck)
lint: transport/internet/system_listener.go#L94
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: common/platform/platform_test.go#L60
SA1032: arguments have the wrong order (staticcheck)
lint: transport/internet/request/assembler/packetconn/req2packet.go#L125
S1009: should omit nil check; len() for []byte is defined as zero (gosimple)
lint: proxy/vlite/inbound/inbound.go#L149
enableInterface - result 0 (error) is always nil (unparam)
lint: app/dns/dnscommon_test.go#L92
printf: non-constant format string in call to (*testing.common).Errorf (govet)
lint: transport/internet/request/assembler/simple/server.go#L107
S1009: should omit nil check; len() for []byte is defined as zero (gosimple)
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