Skip to content

fix(HMS-2933): Improve some HTTP error codes #3122

fix(HMS-2933): Improve some HTTP error codes

fix(HMS-2933): Improve some HTTP error codes #3122

Triggered via pull request November 14, 2023 14:49
Status Failure
Total duration 2m 6s
Artifacts

gotest.yml

on: pull_request
💬 Commit checks
28s
💬 Commit checks
🛠 Go Build
24s
🛠 Go Build
🏢 Code format & OpenAPI lint
26s
🏢 Code format & OpenAPI lint
🏫 Go linter
35s
🏫 Go linter
🏅 Unit tests
1m 54s
🏅 Unit tests
🏆 Integration tests
1m 44s
🏆 Integration tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors
🏢 Code format & OpenAPI lint
Process completed with exit code 2.
🏫 Go linter: internal/middleware/id_validation.go#L9
File is not `gofumpt`-ed (gofumpt)
🏫 Go linter: internal/middleware/id_validation_test.go#L3
File is not `gofumpt`-ed (gofumpt)
🏫 Go linter: internal/middleware/id_validation_test.go#L5
File is not `gofumpt`-ed (gofumpt)
🏫 Go linter: internal/middleware/id_validation_test.go#L4
File is not `goimports`-ed (goimports)
🏫 Go linter: internal/middleware/id_validation.go#L14
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
🏫 Go linter: internal/middleware/id_validation.go#L20
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
🏫 Go linter: internal/middleware/id_validation.go#L24
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
🏫 Go linter: internal/middleware/id_validation_test.go#L11
require-error: for error assertions use require (testifylint)
🏫 Go linter: internal/middleware/id_validation_test.go#L15
require-error: for error assertions use require (testifylint)
🏫 Go linter
issues found