chore(deps): update actions/setup-go action to v4 #8
on_push_pr.yaml
on: push
Run all static analysis checks
50s
Run unit tests on *Nix
51s
Run unit tests on Windows
1m 15s
Run integration tests on *Nix
52s
Test binary compilation for all platforms:arch
1m 2s
Annotations
10 errors and 17 warnings
Run all static analysis checks:
src/main.go#L140
cyclomatic complexity 13 of func `collectServiceCheck` is high (> 10) (gocyclo)
|
Run all static analysis checks:
tests/jsonschema/jsonschema.go#L44
File is not `gofmt`-ed with `-s` (gofmt)
|
Run all static analysis checks:
src/nagios_linux_test.go#L1
File is not `gofmt`-ed with `-s` (gofmt)
|
Run all static analysis checks:
src/main.go#L248
`if err != nil` has complex nested blocks (complexity: 5) (nestif)
|
Run all static analysis checks:
tests/jsonschema/jsonschema.go#L27
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
Run all static analysis checks:
src/main.go#L250
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
Run all static analysis checks:
tests/jsonschema/jsonschema.go#L38
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/main.go#L119
err113: 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\")" (goerr113)
|
Run all static analysis checks:
src/main.go#L127
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to read config file: %s\", err.Error())" (goerr113)
|
Run all static analysis checks:
src/main.go#L134
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to parse config file: %s\", err.Error())" (goerr113)
|
Run all static analysis checks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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 *Nix
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run unit tests on *Nix
The `save-state` 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 *Nix
The `save-state` 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 *Nix
The `save-state` 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
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run integration tests on *Nix
The `save-state` 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
The `save-state` 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
The `save-state` 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-nagios/nri-nagios. Supported file pattern: go.sum
|
Test binary compilation for all platforms:arch
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test binary compilation for all platforms:arch
The `save-state` 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/
|
Test binary compilation for all platforms:arch
The `save-state` 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/
|
Test binary compilation for all platforms:arch
The `save-state` 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
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run unit tests on Windows
Restore cache failed: Dependencies file is not found in D:\a\nri-nagios\nri-nagios. Supported file pattern: go.sum
|