chore(deps): update golang version to 1.21 #272
push_pr.yml
on: push
Run all static analysis checks
1m 14s
Run unit tests on *Nix
1m 59s
Run unit tests on Windows
2m 45s
Run integration tests on *Nix
2m 48s
Test binary compilation for all platforms:arch
3m 26s
Annotations
10 errors and 4 warnings
Run all static analysis checks:
tests/integration/helpers/helpers.go#L16
mnd: Magic number: 3, in <argument> detected (gomnd)
|
Run all static analysis checks:
tests/integration/jsonschema/jsonschema.go#L27
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
Run all static analysis checks:
tests/integration/jsonschema/jsonschema.go#L40
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"The output of the integration doesn't have expected JSON format\")" (goerr113)
|
Run all static analysis checks:
src/client_test.go#L45
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
Run all static analysis checks:
src/metric_definition.go#L4
type `MasterNodeIdResponse` should be `MasterNodeIDResponse` (golint)
|
Run all static analysis checks:
src/metrics.go#L63
func result `nodeId` should be `nodeID` (golint)
|
Run all static analysis checks:
src/metrics.go#L82
func result `masterId` should be `masterID` (golint)
|
Run all static analysis checks:
src/metrics.go#L83
var `masterIdResponseObject` should be `masterIDResponseObject` (golint)
|
Run all static analysis checks:
src/inventory_test.go#L262
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
Run all static analysis checks:
src/metrics_test.go#L51
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
Run all static analysis checks
Unexpected input(s) 'auditOn', valid inputs are ['entryPoint', 'args', 'config', 'publishToken']
|
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 integration tests on *Nix
Restore cache failed: Dependencies file is not found in /home/runner/work/nri-elasticsearch/nri-elasticsearch. Supported file pattern: go.sum
|
Run unit tests on Windows
Restore cache failed: Dependencies file is not found in D:\a\nri-elasticsearch\nri-elasticsearch. Supported file pattern: go.sum
|