Skip to content

feat: OBS-8 - golangci-lint GitHub action workflow #4

feat: OBS-8 - golangci-lint GitHub action workflow

feat: OBS-8 - golangci-lint GitHub action workflow #4

Triggered via pull request January 29, 2024 21:35
Status Failure
Total duration 43s
Billable time 2m
Artifacts

golangci-lint.yaml

on: pull_request
Matrix: golangci
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
golangci (diode-server): diode-server/server/server.go#L1
package-comments: should have a package comment (revive)
golangci (diode-server): diode-server/server/server.go#L55
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
golangci (diode-server): diode-server/cmd/distributor/main.go#L1
package-comments: should have a package comment (revive)
golangci (diode-server): diode-server/ingester/component.go#L9
exported: exported type Component should have comment or be unexported (revive)
golangci (diode-server): diode-server/ingester/component.go#L13
exported: exported function New should have comment or be unexported (revive)
golangci (diode-server): diode-server/ingester/component.go#L19
exported: exported method Component.Name should have comment or be unexported (revive)
golangci (diode-server): diode-server/ingester/component.go#L23
exported: exported method Component.Start should have comment or be unexported (revive)
golangci (diode-server): diode-server/ingester/component.go#L43
exported: exported method Component.Stop should have comment or be unexported (revive)
golangci (diode-server): diode-server/ingester/component.go#L1
package-comments: should have a package comment (revive)
golangci (diode-server): diode-server/reconciler/component.go#L27
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (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/.