Skip to content

Revert "Improve codecov" #1535

Revert "Improve codecov"

Revert "Improve codecov" #1535

Triggered via pull request September 25, 2024 10:25
Status Failure
Total duration 3m 19s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
golangci-lint (1.21.5): cache/service/service_contract.go#L119
Error return value of `sc.upsertValueCache` is not checked (errcheck)
golangci-lint (1.21.5): cache/service/service_contract.go#L123
Error return value of `sc.upsertValueCache` is not checked (errcheck)
golangci-lint (1.21.5): auth/policy/server.go#L107
Error return value of `checker.Initialize` is not checked (errcheck)
golangci-lint (1.21.5): apiserver/nacosserver/v1/config/access.go#L145
Error return value of `handler.ProcessZip` is not checked (errcheck)
golangci-lint (1.21.5): apiserver/nacosserver/v1/endpoints.go#L72
Error return value of `rsp.Write` is not checked (errcheck)
golangci-lint (1.21.5): common/model/auth/container.go#L21
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris) --custom-order (gci)
golangci-lint (1.21.5): common/model/auth/container.go#L22
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris) --custom-order (gci)
golangci-lint (1.21.5): store/boltdb/role.go#L23
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris) --custom-order (gci)
golangci-lint (1.21.5): store/boltdb/role.go#L28
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris) --custom-order (gci)
golangci-lint (1.21.5): store/mysql/role.go#L23
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris) --custom-order (gci)
golangci-lint (1.21.5)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci-lint (1.21.5): cache/api/types.go#L18
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
golangci-lint (1.21.5): apiserver/nacosserver/v1/discover/instance.go#L80
import-shadowing: The name 'service' shadows an import name (revive)
golangci-lint (1.21.5): apiserver/nacosserver/v1/discover/instance.go#L93
import-shadowing: The name 'service' shadows an import name (revive)
golangci-lint (1.21.5): apiserver/nacosserver/v1/discover/instance.go#L139
import-shadowing: The name 'service' shadows an import name (revive)