Skip to content

Add unit test job

Add unit test job #39

Triggered via pull request April 6, 2024 14:35
Status Failure
Total duration 45s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: internal/myaudio/buffers.go#L35
Error return value of `ringBuffer.Write` is not checked (errcheck)
lint: internal/myaudio/buffers.go#L85
Error return value is not checked (errcheck)
lint: internal/myaudio/capture.go#L53
Error return value of `malgoCtx.Uninit` is not checked (errcheck)
lint: internal/myaudio/capture.go#L135
Error return value of `device.Stop` is not checked (errcheck)
lint: cmd/root.go#L29
Error return value is not checked (errcheck)
lint: internal/birdnet/rangefilter.go#L230
func `mergeSpeciesLists` is unused (unused)
lint: internal/analysis/processor/actions.go#L37
field `pcmData` is unused (unused)
lint: internal/analysis/processor/execute.go#L18
var `speciesActionsMap` is unused (unused)
lint: internal/analysis/processor/processor.go#L38
field `pcmDataExt` is unused (unused)
lint: internal/mqtt/mqtt.go#L54
S1002: should omit comparison to bool constant, can be simplified to `!c.internalClient.IsConnected()` (gosimple)