Skip to content

generate alert instead of panic when encountering incorrect listen on… #2584

generate alert instead of panic when encountering incorrect listen on…

generate alert instead of panic when encountering incorrect listen on… #2584

Triggered via push October 1, 2024 18:33
Status Failure
Total duration 6m 27s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
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: main/commands/all/jsonv4/convert.go#L122
printf: non-constant format string in call to github.com/v2fly/v2ray-core/v5/main/commands/base.Fatalf (govet)
lint: main/commands/all/jsonv4/convert.go#L136
printf: non-constant format string in call to github.com/v2fly/v2ray-core/v5/main/commands/base.Fatalf (govet)
lint: main/commands/all/jsonv4/convert.go#L141
printf: non-constant format string in call to github.com/v2fly/v2ray-core/v5/main/commands/base.Fatalf (govet)
lint: proxy/vlite/inbound/inbound.go#L149
enableInterface - result 0 (error) is always nil (unparam)
lint: app/router/command/command_test.go#L100
File is not `gofumpt`-ed (gofumpt)
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
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