Skip to content
Triggered via push December 25, 2024 12:13
Status Failure
Total duration 6m 5s
Artifacts

lint-golang.yaml

on: push
Deduce required tests from code changes
2s
Deduce required tests from code changes
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
lint-golang: pkg/dhcpserver/server.go#L298
Error return value of `s.cmd.Wait` is not checked (errcheck)
lint-golang: pkg/agent/config/config.go#L199
Error return value is not checked (errcheck)
lint-golang: pkg/agent/hoststatus/HostStatusEvent.go#L72
Error return value of `c.UpdateHostStatusWrapper` is not checked (errcheck)
lint-golang: pkg/agent/hoststatus/HostStatusUpdate.go#L101
Error return value of `c.UpdateHostStatusCr` is not checked (errcheck)
lint-golang: pkg/agent/hoststatus/manager.go#L84
Error return value of `hostEndpointInformer.AddEventHandler` is not checked (errcheck)
lint-golang: pkg/agent/hoststatus/manager.go#L111
Error return value of `hostStatusInformer.AddEventHandler` is not checked (errcheck)
lint-golang: pkg/dhcpserver/tools.go#L316
func `parseDhcpTime` is unused (unused)
lint-golang: pkg/dhcpserver/tools.go#L354
func `(*dhcpServer).getLeaseFilePath` is unused (unused)
lint-golang: pkg/webhook/hostoperation/hostoperation_webhook.go#L19
field `decoder` is unused (unused)
lint-golang: cmd/controller/main.go#L30
var `setupLog` is unused (unused)
Deduce required tests from code changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-code
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-code
Restore cache failed: Dependencies file is not found in /home/runner/work/bmc/bmc. Supported file pattern: go.sum
lint-golang
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-golang
Restore cache failed: Dependencies file is not found in /home/runner/work/bmc/bmc. Supported file pattern: go.sum