chore(deps): update dependency windows to v2022 #412
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
push_pr.yml
on: push
Run all static analysis checks
1m 13s
Run security checks via snyk
28s
Run unit tests on *Nix
1m 2s
Run unit tests on Windows
2m 12s
Run integration tests on *Nix
1m 7s
Test binary compilation for all platforms:arch
2m 16s
Annotations
10 errors and 4 warnings
Run all static analysis checks:
src/redis.go#L54
Function 'main' has too many statements (58 > 50) (funlen)
|
Run all static analysis checks:
src/inventory.go#L38
regexpMust: for const patterns like "(?i)(requirepass|masterauth)", use regexp.MustCompile (gocritic)
|
Run all static analysis checks:
src/metrics.go#L179
regexpMust: for const patterns like `keys=(\d+),expires=(\d+),avg_ttl=(\d+\.*\d*)`, use regexp.MustCompile (gocritic)
|
Run all static analysis checks:
src/metrics.go#L226
typeSwitchVar: 2 cases can benefit from type switch with assignment (gocritic)
|
Run all static analysis checks:
src/connection.go#L135
cyclomatic complexity 17 of func `(redisConn).setKeysLength` is high (> 10) (gocyclo)
|
Run all static analysis checks:
src/redis.go#L22
struct of size 168 bytes could be of size 160 bytes:
|
Run all static analysis checks:
src/redis.go#L121
`if args.HasMetrics()` has complex nested blocks (complexity: 8) (nestif)
|
Run all static analysis checks:
src/inventory.go#L54
`if ok` has complex nested blocks (complexity: 6) (nestif)
|
Run all static analysis checks:
src/redis.go#L103
`if args.HasInventory()` has complex nested blocks (complexity: 6) (nestif)
|
Run all static analysis checks:
src/inventory.go#L73
`if ok` has complex nested blocks (complexity: 5) (nestif)
|
Run integration tests on *Nix
Restore cache failed: Dependencies file is not found in /home/runner/work/nri-redis/nri-redis. Supported file pattern: go.sum
|
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 unit tests on Windows
Restore cache failed: Dependencies file is not found in D:\a\nri-redis\nri-redis. Supported file pattern: go.sum
|