[windows] add PDH helpers #551
Annotations
10 errors and 12 warnings
lint (windows):
helpers/windows/pdh/pdh_query_windows.go#L115
error is nil (line 113) but it returns error (nilerr)
|
lint (windows):
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)
|
lint (windows):
helpers/windows/pdh/pdh_query_windows.go#L123
Error return value is not checked (errcheck)
|
lint (windows):
helpers/windows/pdh/pdh_query_windows.go#L198
ST1005: error strings should not be capitalized (stylecheck)
|
lint (windows):
helpers/windows/pdh/pdh_query_windows.go#L201
ST1005: error strings should not be capitalized (stylecheck)
|
lint (windows):
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)
|
lint (windows):
helpers/windows/pdh/pdh_query_windows.go#L240
ineffectual assignment to expdPaths (ineffassign)
|
lint (windows):
helpers/windows/pdh/pdh_query_windows.go#L242
error is nil (line 240) but it returns error (nilerr)
|
lint (windows):
helpers/windows/pdh/pdh_query_windows.go#L334
use of `fmt.Println` forbidden by pattern `fmt.Print.*` (forbidigo)
|
lint (windows):
helpers/windows/pdh/pdh_query_windows_test.go#L82
ineffectual assignment to err (ineffassign)
|
lint (linux)
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/
|
lint (linux)
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/
|
lint (linux)
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']
|
lint (linux)
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']
|
lint (darwin)
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/
|
lint (darwin)
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']
|
lint (darwin)
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']
|
lint (darwin)
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/
|
lint (windows)
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/
|
lint (windows)
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/
|
lint (windows)
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']
|
lint (windows)
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']
|