build(deps): bump github/codeql-action from 2 to 3 #692
Annotations
5 errors and 9 warnings
envutil/envutil_test.go#L102
[staticcheck] reported by reviewdog 🐶
variadic argument "kvPairs" is expected to have even number of elements, but has 3 elements
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"variadic argument \"kvPairs\" is expected to have even number of elements, but has 3 elements","code":{"value":"SA5012","url":"https://staticcheck.io/docs/checks#SA5012"},"location":{"path":"/home/runner/work/goutil/goutil/envutil/envutil_test.go","range":{"start":{"line":102,"column":11}}},"severity":"ERROR"}
|
reflects/reflects.go#L15
[staticcheck] reported by reviewdog 🐶
var fmtStringerType is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"var fmtStringerType is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/reflects/reflects.go","range":{"start":{"line":15,"column":2}}},"severity":"ERROR"}
|
reflects/util.go#L13
[staticcheck] reported by reviewdog 🐶
func loopIndirect is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func loopIndirect is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/reflects/util.go","range":{"start":{"line":13,"column":6}}},"severity":"ERROR"}
|
strutil/strutil.go#L93
[staticcheck] reported by reviewdog 🐶
var builtInFuncs is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"var builtInFuncs is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/strutil/strutil.go","range":{"start":{"line":93,"column":5}}},"severity":"ERROR"}
|
|
Revive check:
sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
|
Revive check:
strutil/check.go#L293
if block ends with a return statement, so drop this else and outdent its block
|
Revive check:
dump/dumper_test.go#L216
parameter 't' seems to be unused, consider removing or renaming it as _
|
Revive check:
testutil/httpmock.go#L31
func NewHttpRequest should be NewHTTPRequest
|
Revive check:
strutil/convbase.go#L58
should drop = 0 from declaration of var dec; it is the zero value
|
Revive check:
dump/dumper_test.go#L363
parameter 't' seems to be unused, consider removing or renaming it as _
|
Revive check:
dump/dumper_test.go#L367
parameter 't' seems to be unused, consider removing or renaming it as _
|
Revive check:
strutil/convbase.go#L15
exported const Base10Chars should have comment (or a comment on this block) or be unexported
|
Revive check:
dump/dumper_test.go#L426
parameter 't' seems to be unused, consider removing or renaming it as _
|
The logs for this run have expired and are no longer available.
Loading