Skip to content

Add extended version info #12

Add extended version info

Add extended version info #12

Triggered via push March 3, 2025 14:47
Status Failure
Total duration 36s
Artifacts

go.yml

on: push
Build Lint and Test
26s
Build Lint and Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Build Lint and Test: internal/version/version.go#L40
fieldalignment: struct with 40 pointer bytes could be 32 (govet)
Build Lint and Test: internal/version/version_test.go#L114
Error return value of `w.Write` is not checked (errcheck)
Build Lint and Test: main.go#L21
dot-imports: should not use dot imports (revive)
Build Lint and Test: main.go#L119
The line is 183 characters long, which exceeds the maximum of 180 characters. (lll)
Build Lint and Test: main.go#L147
var-naming: var currentThreadId should be currentThreadID (revive)
Build Lint and Test: main.go#L216
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(retryInterval, " ", "", -1)` (gocritic)
Build Lint and Test: main.go#L218
var-naming: don't use underscores in Go names; var len_values should be lenValues (revive)
Build Lint and Test: main.go#L225
assignOp: replace `values[i] = values[i] + "000"` with `values[i] += "000"` (gocritic)
Build Lint and Test: main.go#L227
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(values[i], "ms", "", -1)` (gocritic)
Build Lint and Test: main.go#L228
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(values[i], "s", "000", -1)` (gocritic)
Build Lint and Test
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.17.13-e07936d6b0021700cb52254228681ddf4f5c8f7a9acd068e033ad2da0f68e84b