chore: update linter and address its issues #75
ci.yaml
on: push
Matrix: test
lint
23s
test-coverage
26s
Annotations
10 errors and 2 warnings
lint:
client_test.go#L16
paramTypeCombine: func(_ T, _ RequestData, _ RequestData) error could be replaced with func(_ T, _, _ RequestData) error (gocritic)
|
lint:
record_transport.go#L71
octalLiteral: use new octal literal style, 0o644 (gocritic)
|
lint:
record_transport.go#L94
octalLiteral: use new octal literal style, 0o644 (gocritic)
|
lint:
record_transport_test.go#L18
unnamedResult: consider giving a name to these results (gocritic)
|
lint:
record_transport_test.go#L80
httpNoBody: http.NoBody should be preferred to the nil request body (gocritic)
|
lint:
record_transport_test.go#L102
whyNoLint: include an explanation for nolint directive (gocritic)
|
lint:
record_transport_test.go#L190
httpNoBody: http.NoBody should be preferred to the nil request body (gocritic)
|
lint:
record_transport_test.go#L207
whyNoLint: include an explanation for nolint directive (gocritic)
|
lint:
replay_transport.go#L35
Error return value of `d.validator.Validate` is not checked (errcheck)
|
lint:
replay_transport.go#L56
octalLiteral: use new octal literal style, 0o00 (gocritic)
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/hypert/hypert. Supported file pattern: go.sum
|
test-coverage
Restore cache failed: Dependencies file is not found in /home/runner/work/hypert/hypert. Supported file pattern: go.sum
|