Skip to content

Exclude rules golangci revive lint #944

Exclude rules golangci revive lint

Exclude rules golangci revive lint #944

Triggered via push October 14, 2024 10:58
Status Failure
Total duration 2m 20s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Linting: pkg/config/config.go#L35
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
Linting: cmd/main.go#L96
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
Linting: plugins/handler/ceilometer-metrics/main_test.go#L40
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
Linting: plugins/handler/sensubility-metrics/main.go#L104
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
Linting: plugins/handler/sensubility-metrics/main_test.go#L206
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
Linting
issues found
Unit tests
Process completed with exit code 1.
Linting
Restore cache failed: Dependencies file is not found in /home/runner/work/sg-core/sg-core. Supported file pattern: go.sum