Skip to content

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

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

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

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

golangci-lint.yaml

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

Annotations

7 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/ingester/component.go#L1
package-comments: should have a package comment (revive)
golangci (diode-server): diode-server/cmd/ingester/main.go#L1
package-comments: should have a package comment (revive)
golangci (diode-server): diode-server/distributor/component.go#L30
S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (gosimple)
golangci (diode-server): diode-server/server/server.go#L55
S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (gosimple)
golangci (diode-server): diode-server/reconciler/component.go#L27
S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (gosimple)
golangci (diode-server)
issues found
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/.