Skip to content

[cpu/windows] Switch to performance counters #567

[cpu/windows] Switch to performance counters

[cpu/windows] Switch to performance counters #567

Triggered via pull request November 22, 2024 09:04
Status Failure
Total duration 5m 21s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
lint (windows): metric/cpu/metrics_windows.go#L113
ST1003: func populateGlobalCpuMetrics should be populateGlobalCPUMetrics (stylecheck)
lint (windows): metric/cpu/metrics_windows.go#L132
ST1003: func populatePerCpuMetrics should be populatePerCPUMetrics (stylecheck)
lint (windows): metric/cpu/metrics_windows.go#L145
`counteres` is a misspelling of `counters` (misspell)
lint (windows): metric/cpu/metrics_windows.go#L176
ST1003: func populatePerCpuMetricsFallback should be populatePerCPUMetricsFallback (stylecheck)
lint (windows): metric/cpu/metrics_windows.go#L195
ST1003: func populateGlobalCpuMetricsFallback should be populateGlobalCPUMetricsFallback (stylecheck)
lint (windows): metric/cpu/metrics_windows.go#L198
naked return in func `populateGlobalCpuMetricsFallback` with 6 lines of code (nakedret)
lint (windows): metric/cpu/metrics_windows.go#L200
naked return in func `populateGlobalCpuMetricsFallback` with 6 lines of code (nakedret)
lint (windows): metric/cpu/metrics_windows.go#L234
ST1005: error strings should not be capitalized (stylecheck)
lint (windows)
issues found
lint (linux)
The job was canceled because "windows" failed.
lint (linux)
The operation was canceled.
lint (windows)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, 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 (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-darwin
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, 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
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/