feat: clean cf code #1371
ci-build.yaml
on: pull_request
changes
15s
Ensure Go modules synchronicity
48s
Lint Go code
4m 8s
Check changes to generated code
5m 46s
Run unit tests with -race for Go packages
8m 6s
Process & analyze test artifacts
0s
Annotations
7 errors and 1 warning
Lint Go code:
reposerver/repository/repository.go#L1987
func `expandUnstructuredObjs` is unused (unused)
|
Lint Go code:
reposerver/apiclient/util.go#L5
S1001: should use copy(to, from) instead of a loop (gosimple)
|
Lint Go code:
reposerver/repository/repository.go#L1777
SA4006: this value of `objs` is never used (staticcheck)
|
Lint Go code:
reposerver/repository/repository.go#L1784
SA4006: this value of `objs` is never used (staticcheck)
|
Lint Go code
issues found
|
Run unit tests for Go packages
Process completed with exit code 2.
|
Run unit tests with -race for Go packages
Process completed with exit code 2.
|
changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|