Skip to content

Separate and export BuildReceiverIntegrations #39

Separate and export BuildReceiverIntegrations

Separate and export BuildReceiverIntegrations #39

Triggered via pull request October 9, 2023 22:49
Status Failure
Total duration 3m 49s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
lint: cmd/alertmanager/main_test.go#L24
type `sendResolved` is unused (unused)
lint: cmd/alertmanager/main_test.go#L26
func `sendResolved.SendResolved` is unused (unused)
lint: notify/receiver/receiver.go#L18
File is not `goimports`-ed with -local github.com/prometheus/alertmanager (goimports)
lint
issues found
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: notify/receiver/receiver.go#L41
var-declaration: should drop = nil from declaration of var NoWrap; it is the zero value (revive)
lint: notify/receiver/receiver_test.go#L92
increment-decrement: should replace calls += 1 with calls++ (revive)