Skip to content

✅ ci: fix ci test error and add test on go1.22 #735

✅ ci: fix ci test error and add test on go1.22

✅ ci: fix ci test error and add test on go1.22 #735

Triggered via push March 24, 2024 06:10
Status Failure
Total duration 1m 27s
Artifacts

go.yml

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

Annotations

16 errors and 5 warnings
[staticcheck] envutil/envutil_test.go#L102 <SA5012>(https://staticcheck.io/docs/checks#SA5012): envutil/envutil_test.go#L102
variadic argument "kvPairs" is expected to have even number of elements, but has 3 elements
Test on go 1.19 and windows-latest
Process completed with exit code 1.
Test on go 1.19 and ubuntu-latest
The job was canceled because "windows-latest_1_19" failed.
Test on go 1.22 and windows-latest
The job was canceled because "windows-latest_1_19" failed.
Test on go 1.22 and windows-latest
The operation was canceled.
Test on go 1.21 and windows-latest
The job was canceled because "windows-latest_1_19" failed.
Test on go 1.21 and windows-latest
The operation was canceled.
Test on go 1.20 and ubuntu-latest
The job was canceled because "windows-latest_1_19" 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 "windows-latest_1_19" failed.
Test on go 1.20 and windows-latest
The operation was canceled.
Test on go 1.21 and ubuntu-latest
The job was canceled because "windows-latest_1_19" failed.
Test on go 1.21 and ubuntu-latest
The operation was canceled.
Test on go 1.22 and ubuntu-latest
The job was canceled because "windows-latest_1_19" failed.
Test on go 1.22 and ubuntu-latest
The operation was canceled.
Test on go 1.20 and ubuntu-latest: structs/tags.go#L227
parameter 'field' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
Test on go 1.20 and ubuntu-latest: strutil/convbase.go#L15
exported const Base10Chars should have comment (or a comment on this block) or be unexported
Test on go 1.20 and ubuntu-latest: testutil/httpmock.go#L31
func NewHttpRequest should be NewHTTPRequest
Test on go 1.20 and ubuntu-latest: envutil/envutil_test.go#L79
parameter 'eVal' seems to be unused, consider removing or renaming it as _