Skip to content

golangci-lintを導入 #3

golangci-lintを導入

golangci-lintを導入 #3

Triggered via pull request November 10, 2023 04:54
Status Failure
Total duration 43s
Artifacts

test-go.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint: backend/state-manager/pkg/operation/operation.go#L15
unused-parameter: parameter 'change' seems to be unused, consider removing or renaming it as _ (revive)
lint: infra/tools/logviewer/main.go#L18
unused-parameter: parameter 'appname' seems to be unused, consider removing or renaming it as _ (revive)
lint: backend/state-manager/pkg/connect/connect_handler.go#L29
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: backend/state-manager/pkg/connect/connect_handler.go#L30
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
lint: backend/state-manager/pkg/connect/connect_handler.go#L61
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: backend/state-manager/pkg/connect/connect_handler.go#L83
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: backend/state-manager/pkg/connect/connect_handler.go#L104
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
lint: backend/state-manager/pkg/connect/connect_handler.go#L138
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
lint: backend/state-manager/pkg/connect/connect_handler.go#L1
var-naming: don't use an underscore in package name (revive)