🔄 synced local '.github/' with remote 'projects/go-terraform-provider… #233
Annotations
10 errors and 2 warnings
test:
internal/sharedtypes/address.go#L154
calculated cyclomatic complexity for function Equal is 24, max is 10 (cyclop)
|
test:
internal/customvalidator/field.go#L97
unnecessary trailing newline (whitespace)
|
test:
internal/customvalidator/requires.go#L40
unnecessary leading newline (whitespace)
|
test:
internal/customvalidator/requires.go#L89
unnecessary trailing newline (whitespace)
|
test:
internal/customvalidator/field.go#L39
calculated cyclomatic complexity for function ValidateString is 11, max is 10 (cyclop)
|
test:
internal/customvalidator/requires.go#L31
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
test:
internal/customtypes/localized_string.go#L95
type assertion must be checked (forcetypeassert)
|
test:
internal/utils/decode.go#L54
Error return value of `val.DecodeStruct` is not checked (errcheck)
|
test:
internal/resources/state_transition/resource.go#L23
var `globalUniqueStore` is unused (unused)
|
test:
internal/resources/state_transition/resource.go#L24
var `globalUniqueMutex` is unused (unused)
|
test
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|