[windows] add PDH helpers #551
Annotations
10 errors and 4 warnings
golangci-lint:
helpers/windows/pdh/pdh_query_windows.go#L115
error is nil (line 113) but it returns error (nilerr)
|
golangci-lint:
helpers/windows/pdh/pdh_query_windows.go#L118
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
golangci-lint:
helpers/windows/pdh/pdh_query_windows.go#L123
Error return value is not checked (errcheck)
|
golangci-lint:
helpers/windows/pdh/pdh_query_windows.go#L198
ST1005: error strings should not be capitalized (stylecheck)
|
golangci-lint:
helpers/windows/pdh/pdh_query_windows.go#L201
ST1005: error strings should not be capitalized (stylecheck)
|
golangci-lint:
helpers/windows/pdh/pdh_query_windows.go#L228
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
golangci-lint:
helpers/windows/pdh/pdh_query_windows.go#L240
ineffectual assignment to expdPaths (ineffassign)
|
golangci-lint:
helpers/windows/pdh/pdh_query_windows.go#L242
error is nil (line 240) but it returns error (nilerr)
|
golangci-lint:
helpers/windows/pdh/pdh_query_windows.go#L334
use of `fmt.Println` forbidden by pattern `fmt.Print.*` (forbidigo)
|
golangci-lint:
helpers/windows/pdh/pdh_query_windows_test.go#L82
ineffectual assignment to err (ineffassign)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Read .go-version file
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Post golangci-lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|
golangci-lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|
Loading