Skip to content

fix(deps): update module github.com/tidwall/gjson to v1.18.0 #231

fix(deps): update module github.com/tidwall/gjson to v1.18.0

fix(deps): update module github.com/tidwall/gjson to v1.18.0 #231

Triggered via push January 21, 2025 06:45
Status Failure
Total duration 1m 12s
Artifacts

on_push_pr.yaml

on: push
push-pr  /  ...  /  Test binary compilation for all platforms:arch
push-pr / test-build-fake-prerelease / Test binary compilation for all platforms:arch
push-pr  /  ...  /  Run all static analysis checks
41s
push-pr / static-analysis / Run all static analysis checks
push-pr  /  ...  /  Run unit tests on *Nix
44s
push-pr / test-nix / Run unit tests on *Nix
push-pr  /  ...  /  Run unit tests on Windows
31s
push-pr / test-windows / Run unit tests on Windows
push-pr  /  ...  /  Run integration tests on *Nix
30s
push-pr / test-integration-nix / Run integration tests on *Nix
push-pr  /  ...  /  Test binary compilation for all platforms:arch
1m 1s
push-pr / test-build-nix / Test binary compilation for all platforms:arch
Matrix: push-pr / test-build-fake-prerelease / Create MSI
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 5 warnings
push-pr / test-integration-nix / Run integration tests on *Nix: tests/nagios_test.go#L18
missing go.sum entry for module providing package github.com/tidwall/gjson (imported by github.com/newrelic/nri-nagios/tests); to add:
push-pr / test-integration-nix / Run integration tests on *Nix
Process completed with exit code 2.
push-pr / static-analysis / Run all static analysis checks: src/main.go#L142
cyclomatic complexity 14 of func `collectServiceCheck` is high (> 10) (gocyclo)
push-pr / static-analysis / Run all static analysis checks: tests/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/jsonschema/jsonschema.go#L38
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/main.go#L121
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"service checks file permissions are not restrictive enough. File permissions must be more strict than 0640. See documentation for details\")" (err113)
push-pr / static-analysis / Run all static analysis checks: src/main.go#L129
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to read config file: %s\", err.Error())" (err113)
push-pr / static-analysis / Run all static analysis checks: src/main.go#L136
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to parse config file: %s\", err.Error())" (err113)
push-pr / static-analysis / Run all static analysis checks: src/main.go#L256
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
push-pr / static-analysis / Run all static analysis checks: src/main.go#L120
Magic number: 0o640, in <condition> detected (mnd)
push-pr / static-analysis / Run all static analysis checks: src/main.go#L254
`if err != nil` has complex nested blocks (complexity: 5) (nestif)
push-pr / test-integration-nix / Run integration tests on *Nix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
push-pr / static-analysis / Run all static analysis checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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/
push-pr / test-nix / Run unit tests on *Nix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
push-pr / test-build-nix / Test binary compilation for all platforms:arch
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636