Fixed hardcoded id #25
test.yml
on: push
Lint Code
18s
Build
18s
Matrix: Run Tests
Annotations
9 errors and 3 warnings
|
Lint Code
issues found
|
|
Lint Code:
pkg/reflection/generic_model.go#L29
S1021: should merge variable declaration with assignment on next line (staticcheck)
|
|
Lint Code:
pkg/restheadspec/headers.go#L108
File is not properly formatted (gofmt)
|
|
Lint Code:
pkg/restheadspec/handler.go#L1968
ifElseChain: rewrite if-else to switch statement (gocritic)
|
|
Lint Code:
pkg/restheadspec/handler.go#L1587
nilValReturn: returned expr is always nil; replace data with nil (gocritic)
|
|
Lint Code:
pkg/restheadspec/handler.go#L1151
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#L354
unnamedResult: consider giving a name to these results (gocritic)
|
|
Lint Code:
pkg/reflection/model_utils.go#L135
equalFold: consider replacing with strings.EqualFold(field.Name, name) (gocritic)
|
|
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
|