Skip to content

Merge pull request #227 from codyyu1/main #313

Merge pull request #227 from codyyu1/main

Merge pull request #227 from codyyu1/main #313

Triggered via push January 8, 2025 06:59
Status Failure
Total duration 3m 5s
Artifacts
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

46 errors and 2 warnings
golangci-lint (1.20.x): plugin/metrics/prometheus/reporter.go#L379
Error return value of `pa.pusher.Delete` is not checked (errcheck)
golangci-lint (1.20.x): pkg/model/context.go#L28
File is not properly formatted (gci)
golangci-lint (1.20.x): pkg/config/serverconnector.go#L168
File is not properly formatted (gci)
golangci-lint (1.20.x): plugin/circuitbreaker/composite/task_pool.go#L22
File is not properly formatted (gci)
golangci-lint (1.20.x): pkg/plugin/configconnector/config_file.go#L56
commentFormatting: put a space between `//` and comment text (gocritic)
golangci-lint (1.20.x): pkg/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
golangci-lint (1.20.x): pkg/flow/configuration/config_flow.go#L159
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.20.x): pkg/flow/configuration/config_flow.go#L194
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.20.x): pkg/flow/configuration/config_flow.go#L228
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.20.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/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 properly formatted (gci)
golangci-lint (1.17.x): pkg/config/serverconnector.go#L168
File is not properly formatted (gci)
golangci-lint (1.17.x): plugin/circuitbreaker/composite/task_pool.go#L22
File is not properly formatted (gci)
golangci-lint (1.17.x): pkg/plugin/configconnector/config_file.go#L56
commentFormatting: put a space between `//` and comment text (gocritic)
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#L159
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#L194
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#L228
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.18.x)
The job was canceled because "_1_20_x" failed.
golangci-lint (1.18.x): plugin/metrics/prometheus/reporter.go#L379
Error return value of `pa.pusher.Delete` is not checked (errcheck)
golangci-lint (1.18.x): pkg/model/context.go#L28
File is not properly formatted (gci)
golangci-lint (1.18.x): pkg/config/serverconnector.go#L168
File is not properly formatted (gci)
golangci-lint (1.18.x): plugin/circuitbreaker/composite/task_pool.go#L22
File is not properly formatted (gci)
golangci-lint (1.18.x): pkg/plugin/configconnector/config_file.go#L56
commentFormatting: put a space between `//` and comment text (gocritic)
golangci-lint (1.18.x): pkg/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
golangci-lint (1.18.x): pkg/flow/configuration/config_flow.go#L159
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.18.x): pkg/flow/configuration/config_flow.go#L194
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.18.x): pkg/flow/configuration/config_flow.go#L228
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
golangci-lint (1.18.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)
The job was canceled because "_1_20_x" failed.
golangci-lint (1.19.x)
The operation was canceled.
golangci-lint (1.15.x)
The job was canceled because "_1_20_x" failed.
golangci-lint (1.15.x)
The operation was canceled.
golangci-lint (1.16.x)
The job was canceled because "_1_20_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 properly formatted (gci)
golangci-lint (1.16.x): pkg/config/serverconnector.go#L168
File is not properly formatted (gci)
golangci-lint (1.16.x): plugin/circuitbreaker/composite/task_pool.go#L22
File is not properly formatted (gci)
golangci-lint (1.16.x): pkg/plugin/configconnector/config_file.go#L56
commentFormatting: put a space between `//` and comment text (gocritic)
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#L159
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#L194
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#L228
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.20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
golangci-lint (1.17.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636