chore(deps): update newrelic/coreint-automation action to v3 #71
Annotations
10 errors and 1 warning
golangci-lint:
src/main.go#L140
cyclomatic complexity 13 of func `collectServiceCheck` is high (> 10) (gocyclo)
|
golangci-lint:
tests/jsonschema/jsonschema.go#L44
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci-lint:
src/nagios_linux_test.go#L1
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci-lint:
src/main.go#L248
`if err != nil` has complex nested blocks (complexity: 5) (nestif)
|
golangci-lint:
tests/jsonschema/jsonschema.go#L27
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
golangci-lint:
src/main.go#L250
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
golangci-lint:
tests/jsonschema/jsonschema.go#L38
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"The output of the integration doesn't have expected JSON format\")" (goerr113)
|
golangci-lint:
src/main.go#L119
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"service checks file permissions are not restrictive enough. File permissions must be more strict than 0640. See documentation for details\")" (goerr113)
|
golangci-lint:
src/main.go#L127
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to read config file: %s\", err.Error())" (goerr113)
|
golangci-lint:
src/main.go#L134
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to parse config file: %s\", err.Error())" (goerr113)
|
Check if CHANGELOG is valid
The `set-output` 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/
|
Loading