Skip to content

add api callback

add api callback #16

Triggered via push April 19, 2024 18:32
Status Failure
Total duration 1m 14s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: api/v2/api.go#L25
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: api/v2/api.go#L31
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: api/v2/api.go#L36
File is not `goimports`-ed with -local github.com/prometheus/alertmanager (goimports)
lint: api/v2/api_test.go#L26
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: api/v2/api_test.go#L28
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: api/v2/api_test.go#L30
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: api/v2/api_test.go#L34
File is not `goimports`-ed with -local github.com/prometheus/alertmanager (goimports)
lint: api/v2/api_test.go#L714
len: use require.Len (testifylint)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.