Improve codecov #1524
Triggered via pull request
September 12, 2024 02:57
Status
Failure
Total duration
3m 36s
Artifacts
–
Annotations
10 errors and 1 warning
golangci-lint (1.21.5):
bootstrap/server.go#L79
printf: non-constant format string in call to fmt.Printf (govet)
|
golangci-lint (1.21.5):
plugin/statis/logger/statis.go#L100
printf: non-constant format string in call to (*github.com/polarismesh/polaris/common/log.Scope).Infof (govet)
|
golangci-lint (1.21.5):
store/boltdb/instance.go#L607
printf: non-constant format string in call to (*github.com/polarismesh/polaris/common/log.Scope).Errorf (govet)
|
golangci-lint (1.21.5):
store/boltdb/instance.go#L671
printf: non-constant format string in call to (*github.com/polarismesh/polaris/common/log.Scope).Errorf (govet)
|
golangci-lint (1.21.5):
cache/service/instance.go#L168
shadow: declaration of "err" shadows declaration at line 151 (govet)
|
golangci-lint (1.21.5):
namespace/default.go#L61
shadow: declaration of "err" shadows declaration at line 59 (govet)
|
golangci-lint (1.21.5):
service/batch/instance.go#L167
shadow: declaration of "taskLife" shadows declaration at line 165 (govet)
|
golangci-lint (1.21.5):
service/service.go#L123
shadow: declaration of "err" shadows declaration at line 118 (govet)
|
golangci-lint (1.21.5):
apiserver/eurekaserver/server.go#L348
shadow: declaration of "err" shadows declaration at line 325 (govet)
|
golangci-lint (1.21.5):
apiserver/grpcserver/base.go#L216
shadow: declaration of "err" shadows declaration at line 204 (govet)
|
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/golangci-lint-action@v3.6.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|