chore(deps): update alpine docker tag to v3.21.3 #1553
push_pr.yml
on: push
Run all static analysis checks
1m 38s
Run unit tests on *Nix
1m 20s
Run unit tests on Windows
2m 44s
Build binary for all platforms:arch
6m 32s
Matrix: Helm chart Lint
Annotations
10 errors and 4 warnings
Run all static analysis checks:
internal/cmd/scraper/scraper.go#L226
cognitive complexity 35 of func `Run` is high (> 30) (gocognit)
|
Run all static analysis checks:
internal/pkg/labels/labels.go#L71
cyclomatic complexity 11 of func `ToAdd` is high (> 10) (gocyclo)
|
Run all static analysis checks:
internal/integration/telemetry_sdk_emitter.go#L189
cyclomatic complexity 13 of func `(*TelemetryEmitter).Emit` is high (> 10) (gocyclo)
|
Run all static analysis checks:
internal/integration/fetcher.go#L334
cyclomatic complexity 13 of func `convertPromMetrics` is high (> 10) (gocyclo)
|
Run all static analysis checks:
internal/pkg/endpoints/kubernetes.go#L637
cyclomatic complexity 16 of func `(*kubernetesTargetRetriever).processEvent` is high (> 10) (gocyclo)
|
Run all static analysis checks:
internal/pkg/endpoints/kubernetes.go#L722
cyclomatic complexity 11 of func `(*kubernetesTargetRetriever).addTarget` is high (> 10) (gocyclo)
|
Run all static analysis checks:
cmd/nri-prometheus/config.go#L29
cyclomatic complexity 11 of func `loadConfig` is high (> 10) (gocyclo)
|
Run all static analysis checks:
load-test/mockexporter/mockexporter.go#L96
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
Run all static analysis checks:
load-test/mockexporter/mockexporter.go#L119
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
|
Run all static analysis checks:
internal/integration/fetcher.go#L44
G402: TLS InsecureSkipVerify set true. (gosec)
|
Run all static analysis checks
Cache not found for keys: golangci-lint.cache-Linux-2876-b8bf53c18e3e735d445bb10a43973b8d4558e7f1, golangci-lint.cache-Linux-2876-
|
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
Restore cache failed: Dependencies file is not found in D:\a\nri-prometheus\nri-prometheus. Supported file pattern: go.sum
|
Build binary for all platforms:arch
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/
|