feat: OBS-8 - golangci-lint GitHub action workflow #6
Annotations
10 errors and 2 warnings
golangci (diode-server):
diode-server/reconciler/component.go#L27
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
golangci (diode-server):
diode-server/reconciler/component.go#L15
exported: exported const DefaultGRPCPort should have comment (or a comment on this block) or be unexported (revive)
|
golangci (diode-server):
diode-server/reconciler/component.go#L18
exported: exported type Component should have comment or be unexported (revive)
|
golangci (diode-server):
diode-server/reconciler/component.go#L24
exported: exported function New should have comment or be unexported (revive)
|
golangci (diode-server):
diode-server/reconciler/component.go#L41
exported: exported method Component.Name should have comment or be unexported (revive)
|
golangci (diode-server):
diode-server/reconciler/component.go#L45
exported: exported method Component.Start should have comment or be unexported (revive)
|
golangci (diode-server):
diode-server/reconciler/component.go#L51
exported: exported method Component.Stop should have comment or be unexported (revive)
|
golangci (diode-server):
diode-server/distributor/component.go#L30
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
golangci (diode-server):
diode-server/distributor/component.go#L16
exported: exported const DefaultGRPCPort should have comment (or a comment on this block) or be unexported (revive)
|
golangci (diode-server):
diode-server/distributor/component.go#L19
exported: exported type Component should have comment or be unexported (revive)
|
golangci (diode-sdk-go)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci (diode-server)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|