chore(deps): update aquasecurity/trivy-action action to v0.12.0 (#124) #208
Annotations
10 errors and 2 warnings
src/metrics_test.go#L53
53-83 lines are duplicate of `src/metrics_test.go:96-125` (dupl)
|
src/metrics_test.go#L96
96-125 lines are duplicate of `src/metrics_test.go:53-83` (dupl)
|
src/inventory.go#L16
Function 'populateInventory' has too many statements (57 > 50) (funlen)
|
src/inventory.go#L38
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(curValue, "/", ":", -1)` (gocritic)
|
src/metrics.go#L274
assignOp: replace `prefix = prefix + "."` with `prefix += "."` (gocritic)
|
src/metrics.go#L245
sloppyLen: len(jsonMetrics) <= 0 can be len(jsonMetrics) == 0 (gocritic)
|
src/metrics.go#L272
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(prefix, "/", ".", -1)` (gocritic)
|
src/metrics.go#L197
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(resp.Header.Get("Server"), "nginx/", "", -1)` (gocritic)
|
src/metrics.go#L359
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(resp.Header.Get("Server"), "nginx/", "", -1)` (gocritic)
|
src/nginx.go#L148
ifElseChain: rewrite if-else to switch statement (gocritic)
|
|
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/
|
The logs for this run have expired and are no longer available.
Loading