refactor: lint fixes #474
test.yml
on: pull_request
lint
37s
coverage
33s
Matrix: test
Annotations
63 errors and 10 warnings
test (1.18.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L24
too many arguments in call to runApp
|
test (1.18.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L39
too many arguments in call to runApp
|
test (1.18.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L50
too many arguments in call to runApp
|
test (1.18.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L73
too many arguments in call to runApp
|
test (1.18.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L96
too many arguments in call to runApp
|
test (1.18.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L105
too many arguments in call to runApp
|
test (1.18.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L119
too many arguments in call to runApp
|
test (1.18.x, ubuntu-latest)
Process completed with exit code 2.
|
test (1.20.x, ubuntu-latest)
The job was canceled because "_1_18_x_ubuntu-latest" failed.
|
test (1.20.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L24
too many arguments in call to runApp
|
test (1.20.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L39
too many arguments in call to runApp
|
test (1.20.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L50
too many arguments in call to runApp
|
test (1.20.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L73
too many arguments in call to runApp
|
test (1.20.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L96
too many arguments in call to runApp
|
test (1.20.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L105
too many arguments in call to runApp
|
test (1.20.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L119
too many arguments in call to runApp
|
test (1.20.x, ubuntu-latest)
Process completed with exit code 1.
|
test (1.19.x, ubuntu-latest)
The job was canceled because "_1_18_x_ubuntu-latest" failed.
|
test (1.19.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L24
too many arguments in call to runApp
|
test (1.19.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L39
too many arguments in call to runApp
|
test (1.19.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L50
too many arguments in call to runApp
|
test (1.19.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L73
too many arguments in call to runApp
|
test (1.19.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L96
too many arguments in call to runApp
|
test (1.19.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L105
too many arguments in call to runApp
|
test (1.19.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L119
too many arguments in call to runApp
|
test (1.19.x, ubuntu-latest)
Process completed with exit code 1.
|
test (1.21.x, ubuntu-latest)
The job was canceled because "_1_18_x_ubuntu-latest" failed.
|
test (1.21.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L24
too many arguments in call to runApp
|
test (1.21.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L39
too many arguments in call to runApp
|
test (1.21.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L50
too many arguments in call to runApp
|
test (1.21.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L73
too many arguments in call to runApp
|
test (1.21.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L96
too many arguments in call to runApp
|
test (1.21.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L105
too many arguments in call to runApp
|
test (1.21.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L119
too many arguments in call to runApp
|
test (1.21.x, ubuntu-latest)
Process completed with exit code 1.
|
test (1.22.x, macos-latest)
The job was canceled because "_1_18_x_ubuntu-latest" failed.
|
coverage:
cmd/gdu/app/app_linux_test.go#L24
too many arguments in call to runApp
|
coverage:
cmd/gdu/app/app_linux_test.go#L39
too many arguments in call to runApp
|
coverage:
cmd/gdu/app/app_linux_test.go#L50
too many arguments in call to runApp
|
coverage:
cmd/gdu/app/app_linux_test.go#L73
too many arguments in call to runApp
|
coverage:
cmd/gdu/app/app_linux_test.go#L96
too many arguments in call to runApp
|
coverage:
cmd/gdu/app/app_linux_test.go#L105
too many arguments in call to runApp
|
coverage:
cmd/gdu/app/app_linux_test.go#L119
too many arguments in call to runApp
|
coverage
Process completed with exit code 2.
|
lint:
cmd/gdu/app/app_linux_test.go#L24
too many arguments in call to runApp
|
lint:
cmd/gdu/app/app_linux_test.go#L39
too many arguments in call to runApp
|
lint:
cmd/gdu/app/app_linux_test.go#L50
too many arguments in call to runApp
|
lint:
cmd/gdu/app/app_linux_test.go#L73
too many arguments in call to runApp
|
lint:
cmd/gdu/app/app_linux_test.go#L96
too many arguments in call to runApp
|
lint:
internal/common/ignore.go#L103
cyclomatic complexity 27 of func `(*UI).CreateIgnoreFunc` is high (> 25) (gocyclo)
|
lint:
pkg/analyze/dir_linux-openbsd.go#L15
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
pkg/analyze/file.go#L99
unnamedResult: consider giving a name to these results (gocritic)
|
lint:
pkg/analyze/file.go#L200
unnamedResult: consider giving a name to these results (gocritic)
|
lint:
pkg/analyze/parallel.go#L216
emptyFallthrough: replace empty case containing only fallthrough with expression list (gocritic)
|
test (1.22.x, ubuntu-latest)
The job was canceled because "_1_18_x_ubuntu-latest" failed.
|
test (1.22.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L24
too many arguments in call to runApp
|
test (1.22.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L39
too many arguments in call to runApp
|
test (1.22.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L50
too many arguments in call to runApp
|
test (1.22.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L73
too many arguments in call to runApp
|
test (1.22.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L96
too many arguments in call to runApp
|
test (1.22.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L105
too many arguments in call to runApp
|
test (1.22.x, ubuntu-latest):
cmd/gdu/app/app_linux_test.go#L119
too many arguments in call to runApp
|
test (1.22.x, ubuntu-latest)
The operation was canceled.
|
test (1.18.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gdu/gdu. Supported file pattern: go.sum
|
test (1.20.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gdu/gdu. Supported file pattern: go.sum
|
test (1.19.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gdu/gdu. Supported file pattern: go.sum
|
test (1.21.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gdu/gdu. Supported file pattern: go.sum
|
test (1.22.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/gdu/gdu. Supported file pattern: go.sum
|
coverage
Restore cache failed: Dependencies file is not found in /home/runner/work/gdu/gdu. Supported file pattern: go.sum
|
lint:
pkg/remove/parallel.go#L14
exported: func name will be used as remove.RemoveItemFromDirParallel by other packages, and that stutters; consider calling this ItemFromDirParallel (revive)
|
lint:
pkg/remove/remove.go#L11
exported: func name will be used as remove.RemoveItemFromDir by other packages, and that stutters; consider calling this ItemFromDir (revive)
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/gdu/gdu. Supported file pattern: go.sum
|
test (1.22.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gdu/gdu. Supported file pattern: go.sum
|