Skip to content

feat(manifest): Allow defining accounts #2339

feat(manifest): Allow defining accounts

feat(manifest): Allow defining accounts #2339

Triggered via pull request October 19, 2023 07:53
Status Success
Total duration 5m 20s
Artifacts

pr-static-code-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 1 warning, and 4 notices
Verify: pkg/persistence/account/load.go#L31
cognitive complexity 27 of func `Load` is high (> 25) (gocognit)
Verify: internal/template/parse.go#L109
cognitive complexity 38 of func `convert` is high (> 25) (gocognit)
Verify: pkg/converter/converter.go#L369
cognitive complexity 27 of func `convertParameters` is high (> 25) (gocognit)
Verify: internal/json/json.go#L119
type switch on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
Verify: pkg/persistence/config/internal/persistence/type_definition.go#L29
`TypeDefinition` should be annotated with the `mapstructure` tag as it is passed to `mapstructure.Decode` at pkg/persistence/config/internal/persistence/type_definition.go:72:13 (musttag)
Verify
Restore cache failed: Dependencies file is not found in /home/runner/work/dynatrace-configuration-as-code/dynatrace-configuration-as-code. Supported file pattern: go.sum
1516 tests found (test 1 to 492)
There are 1516 tests, see "Raw output" for the list of tests 1 to 492.
1516 tests found (test 493 to 977)
There are 1516 tests, see "Raw output" for the list of tests 493 to 977.
1516 tests found (test 978 to 1439)
There are 1516 tests, see "Raw output" for the list of tests 978 to 1439.
1516 tests found (test 1440 to 1516)
There are 1516 tests, see "Raw output" for the list of tests 1440 to 1516.