Skip to content

fix: fix match all router (#217) #297

fix: fix match all router (#217)

fix: fix match all router (#217) #297

Triggered via push November 19, 2024 08:25
Status Failure
Total duration 3m 4s
Artifacts
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

47 errors and 13 warnings
golangci-lint (1.15.x): plugin/metrics/prometheus/reporter.go#L379
Error return value of `pa.pusher.Delete` is not checked (errcheck)
golangci-lint (1.15.x): pkg/model/context.go#L28
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
golangci-lint (1.15.x): pkg/config/serverconnector.go#L168
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
golangci-lint (1.15.x): plugin/circuitbreaker/composite/task_pool.go#L22
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
golangci-lint (1.15.x): pkg/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
golangci-lint (1.15.x): pkg/flow/configuration/config_flow.go#L158
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.15.x): pkg/flow/configuration/config_flow.go#L193
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.15.x): pkg/flow/configuration/config_flow.go#L227
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.15.x): plugin/serverconnector/grpc/operation_sync.go#L223
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.15.x): plugin/serverconnector/grpc/operation_sync.go#L226
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.17.x)
The job was canceled because "_1_15_x" failed.
golangci-lint (1.17.x): plugin/metrics/prometheus/reporter.go#L379
Error return value of `pa.pusher.Delete` is not checked (errcheck)
golangci-lint (1.17.x): pkg/model/context.go#L28
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
golangci-lint (1.17.x): pkg/config/serverconnector.go#L168
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
golangci-lint (1.17.x): plugin/circuitbreaker/composite/task_pool.go#L22
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
golangci-lint (1.17.x): pkg/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
golangci-lint (1.17.x): pkg/flow/configuration/config_flow.go#L158
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.17.x): pkg/flow/configuration/config_flow.go#L193
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.17.x): pkg/flow/configuration/config_flow.go#L227
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.17.x): plugin/serverconnector/grpc/operation_sync.go#L223
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.17.x): plugin/serverconnector/grpc/operation_sync.go#L226
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.16.x)
The job was canceled because "_1_15_x" failed.
golangci-lint (1.16.x): plugin/metrics/prometheus/reporter.go#L379
Error return value of `pa.pusher.Delete` is not checked (errcheck)
golangci-lint (1.16.x): pkg/model/context.go#L28
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
golangci-lint (1.16.x): pkg/config/serverconnector.go#L168
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
golangci-lint (1.16.x): plugin/circuitbreaker/composite/task_pool.go#L22
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
golangci-lint (1.16.x): pkg/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
golangci-lint (1.16.x): pkg/flow/configuration/config_flow.go#L158
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.16.x): pkg/flow/configuration/config_flow.go#L193
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.16.x): pkg/flow/configuration/config_flow.go#L227
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.16.x): plugin/serverconnector/grpc/operation_sync.go#L223
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.16.x): plugin/serverconnector/grpc/operation_sync.go#L226
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.20.x)
The job was canceled because "_1_15_x" failed.
golangci-lint (1.20.x)
The operation was canceled.
golangci-lint (1.18.x)
The job was canceled because "_1_15_x" failed.
golangci-lint (1.18.x)
The operation was canceled.
golangci-lint (1.19.x)
The job was canceled because "_1_15_x" failed.
golangci-lint (1.19.x): plugin/metrics/prometheus/reporter.go#L379
Error return value of `pa.pusher.Delete` is not checked (errcheck)
golangci-lint (1.19.x): pkg/model/context.go#L28
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
golangci-lint (1.19.x): pkg/config/serverconnector.go#L168
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
golangci-lint (1.19.x): plugin/circuitbreaker/composite/task_pool.go#L22
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
golangci-lint (1.19.x): pkg/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
golangci-lint (1.19.x): pkg/flow/configuration/config_flow.go#L158
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.19.x): pkg/flow/configuration/config_flow.go#L193
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.19.x): pkg/flow/configuration/config_flow.go#L227
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.19.x): plugin/serverconnector/grpc/operation_sync.go#L223
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.19.x): plugin/serverconnector/grpc/operation_sync.go#L226
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.15.x)
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.15.x): pkg/algorithm/search/search.go#L19
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
golangci-lint (1.15.x): plugin/ratelimiter/common/ratelimit_slice_window.go#L19
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
golangci-lint (1.15.x): pkg/clock/clock.go#L19
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
golangci-lint (1.17.x): pkg/algorithm/search/search.go#L19
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
golangci-lint (1.17.x): plugin/ratelimiter/common/ratelimit_slice_window.go#L19
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
golangci-lint (1.17.x): pkg/clock/clock.go#L19
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
golangci-lint (1.16.x): pkg/algorithm/search/search.go#L19
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
golangci-lint (1.16.x): plugin/ratelimiter/common/ratelimit_slice_window.go#L19
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
golangci-lint (1.16.x): pkg/clock/clock.go#L19
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
golangci-lint (1.19.x): pkg/algorithm/search/search.go#L19
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
golangci-lint (1.19.x): plugin/ratelimiter/common/ratelimit_slice_window.go#L19
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
golangci-lint (1.19.x): pkg/clock/clock.go#L19
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)