Merge pull request #54 from ozontech/issue-53 #87
Annotations
10 errors and 14 warnings
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#L107
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#L197
assignments should only be cuddled with other assignments (wsl)
|
golangci-lint:
roundtripper.go#L209
if statements should only be cuddled with assignments used in the if statement itself (wsl)
|
golangci-lint:
asserts/json/util.go#L245
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/[email protected]. 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:
interface.go#L24
exported: exported type AllureInfoBuilder should have comment or be unexported (revive)
|
golangci-lint:
interface.go#L35
exported: exported type AllureLinksBuilder should have comment or be unexported (revive)
|
golangci-lint:
interface.go#L43
exported: exported type AllureLabelsBuilder should have comment or be unexported (revive)
|
golangci-lint:
interface.go#L169
exported: exported type RequestParams should have comment or be unexported (revive)
|
golangci-lint:
roundtripper.go#L95
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|