Skip to content

Added basic example

Added basic example #4

Triggered via push May 5, 2024 18:03
Status Failure
Total duration 21s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
lint: monitor.go#L45
calculated cyclomatic complexity for function Healthy is 11, max is 10 (cyclop)
lint: config.go#L5
fieldalignment: struct with 56 pointer bytes could be 40 (govet)
lint: monitor.go#L22
fieldalignment: struct with 64 pointer bytes could be 48 (govet)
lint: monitor.go#L111
error returned from interface method should be wrapped: sig: func (github.com/vmyroslav/sarama-health.kafkaClient).Partitions(topic string) ([]int32, error) (wrapcheck)
lint: monitor.go#L117
error returned from interface method should be wrapped: sig: func (github.com/vmyroslav/sarama-health.kafkaClient).GetOffset(topic string, partition int32, time int64) (int64, error) (wrapcheck)
lint: monitor.go#L48
ranges should only be cuddled with assignments used in the iteration (wsl)
lint: monitor.go#L119
assignments should only be cuddled with other assignments (wsl)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.