Skip to content

build(deps): bump golang.org/x/sys from 0.7.0 to 0.8.0 #527

build(deps): bump golang.org/x/sys from 0.7.0 to 0.8.0

build(deps): bump golang.org/x/sys from 0.7.0 to 0.8.0 #527

Triggered via push May 5, 2023 14:56
Status Failure
Total duration 4m 21s
Artifacts

go.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 10 warnings
Test on go 1.18 and ubuntu-latest: cflag/ext.go#L30
[staticcheck] reported by reviewdog 🐶 field val is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field val is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/cflag/ext.go","range":{"start":{"line":30,"column":2}}},"severity":"ERROR"}
Test on go 1.18 and ubuntu-latest: cliutil/cmdline/builder.go#L58
[staticcheck] reported by reviewdog 🐶 don't use Yoda conditions Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"don't use Yoda conditions","code":{"value":"ST1017","url":"https://staticcheck.io/docs/checks#ST1017"},"location":{"path":"/home/runner/work/goutil/goutil/cliutil/cmdline/builder.go","range":{"start":{"line":58,"column":17}}},"severity":"ERROR"}
Test on go 1.18 and ubuntu-latest: cliutil/cmdline/builder.go#L64
[staticcheck] reported by reviewdog 🐶 don't use Yoda conditions Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"don't use Yoda conditions","code":{"value":"ST1017","url":"https://staticcheck.io/docs/checks#ST1017"},"location":{"path":"/home/runner/work/goutil/goutil/cliutil/cmdline/builder.go","range":{"start":{"line":64,"column":17}}},"severity":"ERROR"}
Test on go 1.18 and ubuntu-latest: fsutil/finder/finder.go#L26
[staticcheck] reported by reviewdog 🐶 field srcFiles is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field srcFiles is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/fsutil/finder/finder.go","range":{"start":{"line":26,"column":2}}},"severity":"ERROR"}
Test on go 1.18 and ubuntu-latest: fsutil/finder/finder.go#L29
[staticcheck] reported by reviewdog 🐶 field includeDirs is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field includeDirs is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/fsutil/finder/finder.go","range":{"start":{"line":29,"column":2}}},"severity":"ERROR"}
Test on go 1.18 and ubuntu-latest: fsutil/finder/finder.go#L30
[staticcheck] reported by reviewdog 🐶 field includeExts is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field includeExts is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/fsutil/finder/finder.go","range":{"start":{"line":30,"column":2}}},"severity":"ERROR"}
Test on go 1.18 and ubuntu-latest: fsutil/finder/finder.go#L55
[staticcheck] reported by reviewdog 🐶 field osInfos is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field osInfos is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/fsutil/finder/finder.go","range":{"start":{"line":55,"column":2}}},"severity":"ERROR"}
Test on go 1.18 and ubuntu-latest: fsutil/finder/finder_test.go#L96
[staticcheck] reported by reviewdog 🐶 var testFiles is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"var testFiles is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/fsutil/finder/finder_test.go","range":{"start":{"line":96,"column":5}}},"severity":"ERROR"}
Test on go 1.18 and ubuntu-latest: fsutil/finder/result.go#L11
[staticcheck] reported by reviewdog 🐶 field f is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field f is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/fsutil/finder/result.go","range":{"start":{"line":11,"column":2}}},"severity":"ERROR"}
Test on go 1.18 and ubuntu-latest
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
Test on go 1.19 and windows-latest
The job was canceled because "ubuntu-latest_1_18" failed.
Test on go 1.19 and ubuntu-latest
The job was canceled because "ubuntu-latest_1_18" failed.
Test on go 1.19 and ubuntu-latest
The operation was canceled.
Test on go 1.20 and ubuntu-latest
The job was canceled because "ubuntu-latest_1_18" failed.
Test on go 1.20 and ubuntu-latest
The operation was canceled.
Test on go 1.20 and windows-latest
The job was canceled because "ubuntu-latest_1_18" failed.
Test on go 1.20 and windows-latest
The operation was canceled.
Test on go 1.18 and windows-latest
The job was canceled because "ubuntu-latest_1_18" failed.
Test on go 1.18 and windows-latest
The operation was canceled.
Test on go 1.18 and ubuntu-latest: errorx/panics/assert.go#L1
should have a package comment
Test on go 1.18 and ubuntu-latest: netutil/httpheader/header.go#L4
exported const UserAgent should have comment (or a comment on this block) or be unexported
Test on go 1.18 and ubuntu-latest: netutil/httpheader/header.go#L1
should have a package comment
Test on go 1.18 and ubuntu-latest: netutil/httpctype/content_type.go#L4
exported const Key should have comment or be unexported
Test on go 1.18 and ubuntu-latest: maputil/format.go#L95
don't use leading k in Go names; var kStr should be str
Test on go 1.18 and ubuntu-latest: fsutil/finder/finder.go#L15
exported const ExDotFile should have comment (or a comment on this block) or be unexported
Test on go 1.18 and ubuntu-latest: sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
Test on go 1.18 and ubuntu-latest: sysutil/user_nonwin.go#L21
func parameter newUid should be newUID
Test on go 1.18 and ubuntu-latest: sysutil/sysutil.go#L31
func parameter fileOrUrl should be fileOrURL
Test on go 1.18 and ubuntu-latest: sysutil/sysutil.go#L36
func parameter fileOrUrl should be fileOrURL