chore: use github-action for golangci-lint workflow #4
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
golangci-lint.yml
on: pull_request
golangci-lint
2m 27s
Annotations
10 errors
golangci-lint:
controllers/common/flagd-injector_test.go#L1002
1002-1043 lines are duplicate of `controllers/common/flagd-injector_test.go:1045-1086` (dupl)
|
golangci-lint:
controllers/common/flagd-injector_test.go#L1045
1045-1086 lines are duplicate of `controllers/common/flagd-injector_test.go:1002-1043` (dupl)
|
golangci-lint:
main.go#L92
Function 'main' is too long (223 > 120) (funlen)
|
golangci-lint:
controllers/common/flagd-proxy_test.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
golangci-lint:
controllers/common/flagd-proxy_test.go#L12
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
golangci-lint:
controllers/common/common.go#L6
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
golangci-lint:
controllers/core/featureflagconfiguration/controller.go#L64
cognitive complexity 30 of func `(*FeatureFlagConfigurationReconciler).Reconcile` is high (> 20) (gocognit)
|
golangci-lint:
apis/core/v1alpha1/flagsourceconfiguration_types.go#L281
cyclomatic complexity 19 of func `(*FlagSourceConfigurationSpec).Merge` is high (> 10) (gocyclo)
|
golangci-lint:
apis/core/v1alpha1/flagsourceconfiguration_types.go#L199
cyclomatic complexity 15 of func `NewFlagSourceConfigurationSpec` is high (> 10) (gocyclo)
|
golangci-lint:
controllers/common/flagd-injector.go#L48
cyclomatic complexity 12 of func `(*FlagdContainerInjector).InjectFlagd` is high (> 10) (gocyclo)
|