fix(deps): update module golang.org/x/tools to v0.26.0 #156
on_push_pr.yaml
on: push
push-pr
/
...
/
Test binary compilation for all platforms:arch
1m 33s
push-pr
/
...
/
Run all static analysis checks
55s
push-pr
/
...
/
Run unit tests on *Nix
44s
push-pr
/
...
/
Run unit tests on Windows
1m 2s
push-pr
/
...
/
Run integration tests on *Nix
1m 6s
push-pr
/
...
/
Test binary compilation for all platforms:arch
1m 26s
Matrix: push-pr / test-build-fake-prerelease / Create MSI
Annotations
10 errors and 1 warning
push-pr / static-analysis / Run all static analysis checks:
src/metrics_test.go#L53
53-83 lines are duplicate of `src/metrics_test.go:96-125` (dupl)
|
push-pr / static-analysis / Run all static analysis checks:
src/metrics_test.go#L96
96-125 lines are duplicate of `src/metrics_test.go:53-83` (dupl)
|
push-pr / static-analysis / Run all static analysis checks:
src/inventory.go#L16
Function 'populateInventory' has too many statements (57 > 50) (funlen)
|
push-pr / static-analysis / Run all static analysis checks:
src/inventory.go#L38
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(curValue, "/", ":", -1)` (gocritic)
|
push-pr / static-analysis / Run all static analysis checks:
src/metrics.go#L274
assignOp: replace `prefix = prefix + "."` with `prefix += "."` (gocritic)
|
push-pr / static-analysis / Run all static analysis checks:
src/metrics.go#L245
sloppyLen: len(jsonMetrics) <= 0 can be len(jsonMetrics) == 0 (gocritic)
|
push-pr / static-analysis / Run all static analysis checks:
src/metrics.go#L272
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(prefix, "/", ".", -1)` (gocritic)
|
push-pr / static-analysis / Run all static analysis checks:
src/metrics.go#L197
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(resp.Header.Get("Server"), "nginx/", "", -1)` (gocritic)
|
push-pr / static-analysis / Run all static analysis checks:
src/metrics.go#L359
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(resp.Header.Get("Server"), "nginx/", "", -1)` (gocritic)
|
push-pr / static-analysis / Run all static analysis checks:
src/nginx.go#L148
ifElseChain: rewrite if-else to switch statement (gocritic)
|
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/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
windows-packages
|
4.79 MB |
|