Skip to content

golangci-lint

golangci-lint #2

Triggered via pull request December 20, 2024 20:29
Status Failure
Total duration 2m 48s
Artifacts

golangci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: internal/api/callbacks.go#L162
underef: could simplify (*val).is_none to val.is_none (gocritic)
lint: internal/api/callbacks.go#L288
underef: could simplify (*key).is_none to key.is_none (gocritic)
lint: internal/api/callbacks.go#L340
underef: could simplify (*output).is_none to output.is_none (gocritic)
lint: internal/api/lib.go#L73
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L90
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L101
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L112
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L123
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L134
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L145
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636