Skip to content

Added modelregistry.AddRegistry #21

Added modelregistry.AddRegistry

Added modelregistry.AddRegistry #21

Triggered via push November 19, 2025 16:18
Status Failure
Total duration 1m 4s
Artifacts

test.yml

on: push
Matrix: Run Tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 3 warnings
Lint Code
issues found
Lint Code: pkg/restheadspec/headers.go#L108
File is not properly formatted (gofmt)
Lint Code: pkg/restheadspec/handler.go#L1963
ifElseChain: rewrite if-else to switch statement (gocritic)
Lint Code: pkg/restheadspec/handler.go#L1582
nilValReturn: returned expr is always nil; replace data with nil (gocritic)
Lint Code: pkg/restheadspec/handler.go#L1146
unnamedResult: consider giving a name to these results (gocritic)
Lint Code: pkg/restheadspec/handler.go#L784
ifElseChain: rewrite if-else to switch statement (gocritic)
Lint Code: pkg/reflection/model_utils.go#L93
equalFold: consider replacing with strings.EqualFold(field.Name, "id") (gocritic)
Lint Code
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Run Tests (1.23.x)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2