refactor: lint fixes #477
test.yml
on: pull_request
lint
27s
coverage
41s
Matrix: test
Annotations
7 errors and 8 warnings
lint:
pkg/analyze/dir_linux-openbsd.go#L15
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
pkg/device/dev_linux.go#L31
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint:
pkg/device/dev_linux_test.go#L51
line is 265 characters (lll)
|
lint:
pkg/device/dev_linux_test.go#L52
line is 234 characters (lll)
|
lint:
pkg/device/dev_linux_test.go#L62
line is 282 characters (lll)
|
lint:
pkg/device/dev_linux_test.go#L63
line is 234 characters (lll)
|
lint
issues found
|
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
|
lint
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.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.22.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/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
|
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
|
coverage
Restore cache failed: Dependencies file is not found in /home/runner/work/gdu/gdu. Supported file pattern: go.sum
|