Skip to content

.github: ensure golangci-lint runs on PR's as well #25

.github: ensure golangci-lint runs on PR's as well

.github: ensure golangci-lint runs on PR's as well #25

Triggered via pull request June 21, 2024 04:58
Status Success
Total duration 32s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
lint: field_test.go#L31
field `b` is unused (unused)
lint: httpstats/transport_test.go#L82
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
lint: influxdb/client.go#L218
Error return value of `io.Copy` is not checked (errcheck)
lint: netstats/handler_test.go#L13
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: procstats/proc_test.go#L33
empty-block: this block is empty, you can remove it (revive)
lint: tag_test.go#L258
var-naming: don't use underscores in Go names; func benchmark_SortTags should be benchmarkSortTags (revive)
lint
issues found
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/stats/stats. Supported file pattern: go.sum