Skip to content

Update golangci configuration #840

Update golangci configuration

Update golangci configuration #840

Triggered via pull request August 29, 2023 14:07
Status Failure
Total duration 2m 52s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: pull_request
Matrix: test-unix
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Cannot open: File exists
golangci-lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golangci-lint: doc/rest_docs.go#L30
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: doc/rest_docs.go#L166
if-return: redundant if ...; err != nil check, just return error instead. (revive)
golangci-lint: doc/md_docs.go#L30
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: doc/yaml_docs.go#L93
unused-parameter: parameter 'linkHandler' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: doc/yaml_docs.go#L81
if-return: redundant if ...; err != nil check, just return error instead. (revive)
golangci-lint: doc/md_docs.go#L152
if-return: redundant if ...; err != nil check, just return error instead. (revive)
golangci-lint: zsh_completions.go#L55
unused-parameter: parameter 'argPosition' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: zsh_completions.go#L66
unused-parameter: parameter 'argPosition' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: command.go#L644
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)