Merge pull request #50 from ozontech/issue-49 #83
Annotations
10 errors and 14 warnings
golangci-lint:
errors/error.go#L8
exported: exported type CuteError should have comment or be unexported (revive)
|
golangci-lint:
internal/utils/body.go#L33
if statements should only be cuddled with assignments (wsl)
|
golangci-lint:
internal/utils/json.go#L18
return statements should not be cuddled if block has more than two lines (wsl)
|
golangci-lint:
allure.go#L14
if statements should only be cuddled with assignments (wsl)
|
golangci-lint:
allure.go#L17
if statements should only be cuddled with assignments (wsl)
|
golangci-lint:
cute.go#L123
expressions should not be cuddled with declarations or returns (wsl)
|
golangci-lint:
jsonschema.go#L36
only one cuddle assignment allowed before if statement (wsl)
|
golangci-lint:
roundtripper.go#L50
if statements should only be cuddled with assignments used in the if statement itself (wsl)
|
golangci-lint:
roundtripper.go#L61
block should not start with a whitespace (wsl)
|
golangci-lint:
roundtripper.go#L194
assignments should only be cuddled with other assignments (wsl)
|
examples
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
examples
No files were found with the provided path: ./examples/allure-results. No artifacts will be uploaded.
|
build_and_test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2.5.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
golangci-lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golangci-lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golangci-lint:
internal/utils/body.go#L9
exported: exported function GetBody should have comment or be unexported (revive)
|
golangci-lint:
internal/utils/body.go#L23
exported: exported function DrainBody should have comment or be unexported (revive)
|
golangci-lint:
provider.go#L8
exported: exported type T should have comment or be unexported (revive)
|
golangci-lint:
request.go#L7
exported: exported type RequestBuilder should have comment or be unexported (revive)
|
golangci-lint:
test.go#L96
exported: exported method Test.Execute should have comment or be unexported (revive)
|
golangci-lint:
init.go#L9
exported: exported function NewTestBuilder should have comment or be unexported (revive)
|
golangci-lint:
roundtripper.go#L92
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
builder.go#L33
exported: exported type Option should have comment or be unexported (revive)
|