Skip to content

Merge pull request #147 from segmentio/tag-sort-dedup #7

Merge pull request #147 from segmentio/tag-sort-dedup

Merge pull request #147 from segmentio/tag-sort-dedup #7

Triggered via push July 18, 2023 18:11
Status Success
Total duration 1m 4s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint: buffer.go#L135
field `pad` is unused (unused)
lint: buffer.go#L158
func `(*buffer).cap` is unused (unused)
lint: buffer.go#L163
Error return value of `w.Write` is not checked (errcheck)
lint: cmd/dogstatsd/main.go#L15
import 'github.com/segmentio/stats/v4' is not allowed from list 'Main' (depguard)
lint: cmd/dogstatsd/main.go#L16
import 'github.com/segmentio/stats/v4/datadog' is not allowed from list 'Main' (depguard)
lint: cmd/dogstatsd/main.go#L62
Error return value of `fset.Parse` is not checked (errcheck)
lint: cmd/dogstatsd/main.go#L78
SA4006: this value of `args` is never used (staticcheck)
lint: cmd/dogstatsd/main.go#L87
SA4006: this value of `args` is never used (staticcheck)
lint: cmd/dogstatsd/main.go#L104
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
lint: cmd/dogstatsd/main.go#L113
Error return value of `fset.Parse` is not checked (errcheck)
lint
The `save-state` 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: cmd/dogstatsd/main.go#L121
unused-parameter: parameter 'a' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/dogstatsd/main.go#L125
unused-parameter: parameter 'a' seems to be unused, consider removing or renaming it as _ (revive)
lint: datadog/parse.go#L226
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
lint: datadog/server.go#L33
unused-parameter: parameter 'e' seems to be unused, consider removing or renaming it as _ (revive)
lint: engine_test.go#L309
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
lint: handler.go#L100
unused-parameter: parameter 'time' seems to be unused, consider removing or renaming it as _ (revive)
lint: httpstats/metrics.go#L61
unused-parameter: parameter 'b' seems to be unused, consider removing or renaming it as _ (revive)
lint: netstats/handler_test.go#L13
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: procstats/linux/stat.go#L18
var-naming: don't use underscores in Go names; const Dead_ should be Dead (revive)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/stats/stats. Supported file pattern: go.sum