Skip to content

Resolve linting errors #607

Resolve linting errors

Resolve linting errors #607

Triggered via push March 5, 2024 17:36
Status Failure
Total duration 33s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 1 warning
test (ubuntu-latest): internal/provider/util.go#L106
runCmd - result 0 ([]byte) is never used (unparam)
test (ubuntu-latest): internal/provider/logger.go#L24
func `(*Logger).warnf` is unused (unused)
test (ubuntu-latest): internal/provider/validate_test.go#L30
Function TestValidateStaticDocs missing the call to method parallel
test (ubuntu-latest): internal/provider/validate_test.go#L53
Range statement for test TestValidateStaticDocs missing the call to method parallel in test Run
test (ubuntu-latest): internal/provider/validate_test.go#L80
Function TestValidateLegacyWebsite missing the call to method parallel
test (ubuntu-latest): internal/provider/validate_test.go#L103
Range statement for test TestValidateLegacyWebsite missing the call to method parallel in test Run
test (ubuntu-latest): internal/provider/validate_test.go#L130
Function TestDocumentationDirGlobPattern missing the call to method parallel
test (ubuntu-latest): internal/provider/validate_test.go#L177
Range statement for test TestDocumentationDirGlobPattern missing the call to method parallel in test Run
test (ubuntu-latest): internal/provider/validate.go#L145
SA4009: argument err is overwritten before first use (staticcheck)
test (ubuntu-latest): internal/provider/validate.go#L146
SA4009(related information): assignment to err (staticcheck)
test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
test (macos-latest)
The operation was canceled.
test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
test (windows-latest)
The operation was canceled.
test (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.