chore(deps): update dependency org.apache.maven.plugins:maven-compile… #28
on_push_pr.yaml
on: push
Run all static analysis checks
48s
Run unit tests on *Nix
57s
Run unit tests on Windows
2m 0s
Run integration tests on *Nix
2m 59s
Test binary compilation for all platforms:arch
1m 57s
Annotations
10 errors and 6 warnings
Run all static analysis checks:
src/kafka.go#L92
cognitive complexity 31 of func `getBrokerList` is high (> 30) (gocognit)
|
Run all static analysis checks:
src/kafka.go#L174
cyclomatic complexity 13 of func `coreCollection` is high (> 10) (gocyclo)
|
Run all static analysis checks:
src/kafka.go#L177
`if args.GlobalArgs.CollectBrokers()` has complex nested blocks (complexity: 12) (nestif)
|
Run all static analysis checks:
src/kafka.go#L110
`if arguments.LocalOnlyCollection` has complex nested blocks (complexity: 6) (nestif)
|
Run all static analysis checks:
src/kafka.go#L97
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
Run all static analysis checks:
src/kafka.go#L102
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
Run all static analysis checks:
src/kafka.go#L124
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
Run all static analysis checks:
src/kafka.go#L131
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"broker is not connected\")" (goerr113)
|
Run all static analysis checks:
src/kafka.go#L136
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to get host from broker address: %s\", broker.Addr())" (goerr113)
|
Run all static analysis checks:
src/kafka.go#L154
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"failed to match any brokers with configured address\")" (goerr113)
|
Run all static analysis checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
Run unit tests on Windows
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run unit tests on Windows
Restore cache failed: Dependencies file is not found in D:\a\nri-kafka\nri-kafka. Supported file pattern: go.sum
|
Run integration tests on *Nix
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run integration tests on *Nix
Restore cache failed: Dependencies file is not found in /home/runner/work/nri-kafka/nri-kafka. Supported file pattern: go.sum
|