Skip to content

Merge pull request #149 from segmentio/lint-fixes #11

Merge pull request #149 from segmentio/lint-fixes

Merge pull request #149 from segmentio/lint-fixes #11

Triggered via push July 19, 2023 16:49
Status Success
Total duration 17s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: buffer.go#L159
Error return value of `w.Write` is not checked (errcheck)
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#L113
Error return value of `fset.Parse` is not checked (errcheck)
lint: cmd/dogstatsd/main.go#L116
Error return value of `datadog.ListenAndServe` is not checked (errcheck)
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: context_test.go#L20
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
lint: datadog/client.go#L197
Error return value of `syscall.SetNonblock` 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
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
Restore cache failed: Dependencies file is not found in /home/runner/work/stats/stats. Supported file pattern: go.sum