Skip to content

enable golangci

enable golangci #2

Triggered via pull request December 17, 2024 12:11
Status Failure
Total duration 2m 32s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: platform/view/services/flogging/core.go#L107
Error return value of `c.Sync` is not checked (errcheck)
lint: platform/view/services/flogging/global.go#L46
Error return value of `Global.Apply` is not checked (errcheck)
lint: platform/view/services/flogging/floggingtest/logger.go#L48
Error return value of `r.buffer.Write` is not checked (errcheck)
lint: platform/view/services/flogging/floggingtest/logger.go#L152
Error return value of `r.writer.Write` is not checked (errcheck)
lint: integration/nwo/fabric/packager/ccmetadata/validators_test.go#L22
Error return value is not checked (errcheck)
lint: integration/nwo/fabric/packager/ccmetadata/validators_test.go#L23
Error return value is not checked (errcheck)
lint: integration/nwo/fabric/packager/ccmetadata/validators_test.go#L34
Error return value is not checked (errcheck)
lint: integration/nwo/common/builder.go#L67
Error return value of `s.server.Serve` is not checked (errcheck)
lint: integration/nwo/common/builder.go#L77
Error return value of `s.server.Shutdown` is not checked (errcheck)
lint: integration/nwo/common/runner/runner.go#L135
Error return value of `allOutput.Clear` is not checked (errcheck)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636