Skip to content

More fixes for _request #3

More fixes for _request

More fixes for _request #3

Triggered via push November 11, 2025 09:16
Status Failure
Total duration 1m 22s
Artifacts

test.yml

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

Annotations

10 errors and 3 warnings
Lint Code: pkg/resolvespec/handler.go#L726
typeAssertChain: rewrite if-else to type switch statement (gocritic)
Lint Code: pkg/resolvespec/handler.go#L484
ifElseChain: rewrite if-else to switch statement (gocritic)
Lint Code: pkg/reflection/generic_model.go#L52
ifElseChain: rewrite if-else to switch statement (gocritic)
Lint Code: pkg/common/adapters/database/gorm.go#L270
ifElseChain: rewrite if-else to switch statement (gocritic)
Lint Code: pkg/restheadspec/restheadspec.go#L255
Error return value of `http.ListenAndServe` is not checked (errcheck)
Lint Code: pkg/restheadspec/handler.go#L1400
Error return value of `w.WriteJSON` is not checked (errcheck)
Lint Code: pkg/restheadspec/handler.go#L1372
Error return value of `w.WriteJSON` is not checked (errcheck)
Lint Code: pkg/restheadspec/handler.go#L1363
Error return value of `w.WriteJSON` is not checked (errcheck)
Lint Code: pkg/restheadspec/handler.go#L1353
Error return value of `w.WriteJSON` is not checked (errcheck)
Lint Code: pkg/restheadspec/handler.go#L1333
Error return value of `w.WriteJSON` is not checked (errcheck)
Build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Lint Code
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