✅ ci: fix ci test error and add test on go1.22 #735
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
|
[staticcheck] reflects/util.go#L13 <U1000>(https://staticcheck.io/docs/checks#U1000):
reflects/util.go#L13
func loopIndirect is unused
|
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 _
|