Skip to content

Setup uptime-operator with mock provider/backend #3

Setup uptime-operator with mock provider/backend

Setup uptime-operator with mock provider/backend #3

Triggered via pull request April 12, 2024 15:09
@rkettelerijrkettelerij
synchronize #1
scaffolding
Status Failure
Total duration 1m 35s
Artifacts

lint-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: internal/controller/ingressroute_controller.go#L75
`if err != nil` has complex nested blocks (complexity: 6) (nestif)
lint: internal/model/check.go#L7
var-naming: const annotationId should be annotationID (revive)
lint: internal/model/check.go#L9
var-naming: const annotationUrl should be annotationURL (revive)
lint: internal/provider/mock.go#L28
var-naming: var checkJson should be checkJSON (revive)
lint: internal/provider/mock.go#L37
var-naming: var checkJson should be checkJSON (revive)
lint: internal/controller/suite_test.go#L33
dot-imports: should not use dot imports (revive)
lint: internal/controller/suite_test.go#L34
dot-imports: should not use dot imports (revive)
lint: internal/controller/ingressroute_controller.go#L87
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: internal/controller/ingressroute_controller_test.go#L28
dot-imports: should not use dot imports (revive)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@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/.