Skip to content

unit test for user store #16

unit test for user store

unit test for user store #16

Triggered via pull request November 19, 2024 10:08
Status Failure
Total duration 2m 21s
Artifacts

test.yaml

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

Annotations

17 errors and 3 warnings
lint: builder/inference/llm_infer.go#L171
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
lint: mirror/queue/queue.go#L61
Error return value of `mq.redis.ZAdd` is not checked (errcheck)
lint: mirror/queue/queue.go#L73
Error return value of `json.Unmarshal` is not checked (errcheck)
lint: builder/git/mirrorserver/types.go#L54
structtag: struct field tag `json:name"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
lint: builder/proxy/reverse_proxy.go#L11
field `proxy` is unused (unused)
lint: builder/multisync/client.go#L48
Error return value of `data.ReadFrom` is not checked (errcheck)
lint: builder/deploy/common/appname.go#L62
S1029: should range over string, not []rune(string) (gosimple)
lint: builder/store/database/deploy_task.go#L174
Error return value of `tx.Rollback` is not checked (errcheck)
lint: builder/store/database/deploy_task.go#L190
Error return value of `tx.Rollback` is not checked (errcheck)
lint: builder/store/database/repo_relation.go#L69
Error return value of `tx.Rollback` is not checked (errcheck)
test (1.21.x): component/callback/git_callback.go#L425
conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
test (1.21.x): component/callback/git_callback.go#L425
conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
test (1.21.x): component/callback/git_callback.go#L437
conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
test (1.21.x): component/callback/git_callback.go#L437
conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
test (1.21.x): component/callback/git_callback.go#L443
conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
test (1.21.x): component/callback/git_callback.go#L458
conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
test (1.21.x)
Process completed with exit code 1.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/csghub-server/csghub-server. Supported file pattern: go.sum
test (1.21.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (1.21.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/