[windows] add PDH helpers #557
Annotations
14 errors and 10 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_test.go#L82
ineffectual assignment to err (ineffassign)
|
lint (windows):
helpers/windows/pdh/pdh_windows.go#L83
ST1003: should not use underscores in Go names; struct field Pad_cgo_0 should be PadCgo0 (stylecheck)
|
lint (linux)
The job was canceled because "windows" failed.
|
lint (linux)
The operation was canceled.
|
lint (darwin)
The job was canceled because "windows" failed.
|
lint (darwin)
The operation was canceled.
|
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)
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)
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 (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)
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/
|