fix(deps): update module github.com/stretchr/testify to v1.10.0 #189
on_push_pr.yaml
on: push
push-pr
/
...
/
Test binary compilation for all platforms:arch
push-pr
/
...
/
Run all static analysis checks
48s
push-pr
/
...
/
Run unit tests on *Nix
44s
push-pr
/
...
/
Run unit tests on Windows
46s
push-pr
/
...
/
Run integration tests on *Nix
1m 44s
push-pr
/
...
/
Test binary compilation for all platforms:arch
1m 30s
Matrix: push-pr / test-build-fake-prerelease / Create MSI
Waiting for pending jobs
Annotations
10 errors and 1 warning
push-pr / static-analysis / Run all static analysis checks:
src/client_test.go#L45
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
push-pr / static-analysis / Run all static analysis checks:
src/inventory.go#L29
`retrive` is a misspelling of `retrieve` (misspell)
|
push-pr / static-analysis / Run all static analysis checks:
src/elasticsearch_test.go#L21
`getTestingEntity` - `entityArgs` always receives `nil` (unparam)
|
push-pr / static-analysis / Run all static analysis checks:
src/metrics.go#L142
`populateClusterMetrics` - `env` is unused (unparam)
|
push-pr / static-analysis / Run all static analysis checks:
src/metrics.go#L268
unnecessary leading newline (whitespace)
|
push-pr / static-analysis / Run all static analysis checks:
src/client.go#L99
response body must be closed (bodyclose)
|
push-pr / static-analysis / Run all static analysis checks:
tests/integration/jsonschema/jsonschema.go#L27
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"Error loading JSON schema, error: %v\", err)" (err113)
|
push-pr / static-analysis / Run all static analysis checks:
tests/integration/jsonschema/jsonschema.go#L40
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"The output of the integration doesn't have expected JSON format\")" (err113)
|
push-pr / static-analysis / Run all static analysis checks:
src/client.go#L126
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"status code %v - could not parse body from response: %v\", response.StatusCode, err)" (err113)
|
push-pr / static-analysis / Run all static analysis checks:
src/client.go#L132
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"status code %v - could not parse error information from response: %v\", response.StatusCode, err)" (err113)
|
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/
|