Skip to content

chore(deps): update dependency ubuntu to v22 #410

chore(deps): update dependency ubuntu to v22

chore(deps): update dependency ubuntu to v22 #410

Triggered via push August 9, 2023 14:24
Status Success
Total duration 1m 57s
Artifacts
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 21s
Run all static analysis checks
Run security checks via snyk
32s
Run security checks via snyk
Run unit tests on *Nix
52s
Run unit tests on *Nix
Run unit tests on Windows
1m 0s
Run unit tests on Windows
Run integration tests on *Nix
1m 11s
Run integration tests on *Nix
Test binary compilation for all platforms:arch
1m 46s
Test binary compilation for all platforms:arch
Fit to window
Zoom out
Zoom in

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 unit tests on Windows
Restore cache failed: Dependencies file is not found in D:\a\nri-redis\nri-redis. Supported file pattern: go.sum
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/