rename one-stop to all-in-one #3388
tests.yml
on: push
Ensure Go modules synchronicity
19s
Build & cache Go code
4m 9s
Lint Go code
2m 7s
Ensure some file updated
3m 43s
Annotations
18 errors and 2 warnings
Lint Go code:
pkg/versioneddataset/versioneddataset.go#L192
Error return value of `fmt.Sscanf` is not checked (errcheck)
|
Lint Go code:
pkg/config/gpts_config.go#L84
S1009: should omit nil check; len() for []github.com/kubeagi/arcadia/pkg/config.Category is defined as zero (gosimple)
|
Lint Go code:
apiserver/pkg/chat/chat_server.go#L169
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
Lint Go code:
apiserver/pkg/modelservice/modelservice.go#L348
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
Lint Go code:
apiserver/pkg/modelservice/modelservice.go#L351
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
Lint Go code:
api/base/v1alpha1/embedder.go#L80
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
Lint Go code:
api/base/v1alpha1/llm.go#L81
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
Lint Go code:
apiserver/pkg/common/endpoint.go#L98
printf: non-constant format string in call to fmt.Sprintf (govet)
|
Lint Go code
issues found
|
Ensure some file updated:
pkg/versioneddataset/versioneddataset.go#L192
Error return value of `fmt.Sscanf` is not checked (errcheck)
|
Ensure some file updated:
pkg/config/gpts_config.go#L84
S1009: should omit nil check; len() for []github.com/kubeagi/arcadia/pkg/config.Category is defined as zero (gosimple)
|
Ensure some file updated:
apiserver/pkg/chat/chat_server.go#L169
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
Ensure some file updated:
apiserver/pkg/modelservice/modelservice.go#L348
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
Ensure some file updated:
apiserver/pkg/modelservice/modelservice.go#L351
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
Ensure some file updated:
api/base/v1alpha1/embedder.go#L80
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
Ensure some file updated:
api/base/v1alpha1/llm.go#L81
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
Ensure some file updated:
apiserver/pkg/common/endpoint.go#L98
printf: non-constant format string in call to fmt.Sprintf (govet)
|
Ensure some file updated
Process completed with exit code 2.
|
Lint Go code
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build & cache Go code
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|