update codeowners (#119) #186
on_push_pr.yaml
on: push
push-pr
/
...
/
Test binary compilation for all platforms:arch
push-pr
/
...
/
Run all static analysis checks
44s
push-pr
/
...
/
Run unit tests on *Nix
51s
push-pr
/
...
/
Run unit tests on Windows
31s
push-pr
/
...
/
Run integration tests on *Nix
29s
push-pr
/
...
/
Test binary compilation for all platforms:arch
1m 0s
Matrix: push-pr / test-build-fake-prerelease / Create MSI
Waiting for pending jobs
Annotations
10 errors and 1 warning
push-pr / static-analysis / Run all static analysis checks:
src/main.go#L140
cyclomatic complexity 13 of func `collectServiceCheck` is high (> 10) (gocyclo)
|
push-pr / static-analysis / Run all static analysis checks:
tests/jsonschema/jsonschema.go#L44
File is not `gofmt`-ed with `-s` (gofmt)
|
push-pr / static-analysis / Run all static analysis checks:
src/main.go#L248
`if err != nil` has complex nested blocks (complexity: 5) (nestif)
|
push-pr / static-analysis / Run all static analysis checks:
tests/jsonschema/jsonschema.go#L27
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"Error loading JSON schema, error: %v\", err)" (err113)
|
push-pr / static-analysis / Run all static analysis checks:
tests/jsonschema/jsonschema.go#L38
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"The output of the integration doesn't have expected JSON format\")" (err113)
|
push-pr / static-analysis / Run all static analysis checks:
src/main.go#L119
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\")" (err113)
|
push-pr / static-analysis / Run all static analysis checks:
src/main.go#L127
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to read config file: %s\", err.Error())" (err113)
|
push-pr / static-analysis / Run all static analysis checks:
src/main.go#L134
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to parse config file: %s\", err.Error())" (err113)
|
push-pr / static-analysis / Run all static analysis checks:
src/main.go#L250
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
push-pr / static-analysis / Run all static analysis checks:
src/main.go#L118
Magic number: 0o640, in <condition> detected (mnd)
|
push-pr / static-analysis / Run all static analysis checks
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/
|