Skip to content

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

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

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

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

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: datadog/metric.go#L42
Error return value of `f.Write` is not checked (errcheck)
lint: field_test.go#L20
ineffectual assignment to s (ineffassign)
lint: field_test.go#L31
field `b` is unused (unused)
lint: grafana/annotations.go#L120
Error return value of `res.enc.Encode` is not checked (errcheck)
lint: grafana/annotations_test.go#L31
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: grafana/search.go#L84
Error return value of `res.enc.Encode` is not checked (errcheck)
lint: grafana/search.go#L88
Error return value of `res.enc.Encode` is not checked (errcheck)
lint: grafana/search_test.go#L22
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: handler_test.go#L16
unused-parameter: parameter 'time' seems to be unused, consider removing or renaming it as _ (revive)
lint: httpstats/handler_test.go#L71
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/stats/stats. Supported file pattern: go.sum