chore(deps): update golang version to 1.21 #225
push_pr.yml
on: push
Run all static analysis checks
1m 17s
Run unit tests on *Nix
1m 25s
Run unit tests on Windows
4m 47s
Run integration tests on *Nix
1m 20s
Test binary compilation for all platforms:arch
2m 32s
Annotations
10 errors and 4 warnings
Run all static analysis checks:
tests/integration/helpers/helpers.go#L5
File is not `goimports`-ed (goimports)
|
Run all static analysis checks:
tests/integration/helpers/helpers.go#L15
mnd: Magic number: 3, in <argument> detected (gomnd)
|
Run all static analysis checks:
src/metrics_test.go#L53
53-83 lines are duplicate of `src/metrics_test.go:96-125` (dupl)
|
Run all static analysis checks:
src/metrics_test.go#L96
96-125 lines are duplicate of `src/metrics_test.go:53-83` (dupl)
|
Run all static analysis checks:
src/inventory.go#L16
Function 'populateInventory' has too many statements (57 > 50) (funlen)
|
Run all static analysis checks:
src/inventory.go#L38
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(curValue, "/", ":", -1)` (gocritic)
|
Run all static analysis checks:
src/metrics.go#L274
assignOp: replace `prefix = prefix + "."` with `prefix += "."` (gocritic)
|
Run all static analysis checks:
src/metrics.go#L245
sloppyLen: len(jsonMetrics) <= 0 can be len(jsonMetrics) == 0 (gocritic)
|
Run all static analysis checks:
src/metrics.go#L272
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(prefix, "/", ".", -1)` (gocritic)
|
Run all static analysis checks:
src/metrics.go#L197
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(resp.Header.Get("Server"), "nginx/", "", -1)` (gocritic)
|
Run all static analysis checks
Unexpected input(s) 'auditOn', valid inputs are ['entryPoint', 'args', 'config', 'publishToken']
|
Run integration tests on *Nix
Restore cache failed: Dependencies file is not found in /home/runner/work/nri-nginx/nri-nginx. Supported file pattern: go.sum
|
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-nginx\nri-nginx. Supported file pattern: go.sum
|