Skip to content

chore(deps): update golang version to 1.21 #296

chore(deps): update golang version to 1.21

chore(deps): update golang version to 1.21 #296

Triggered via push September 6, 2023 23:14
Status Success
Total duration 3m 34s
Artifacts

push_pr.yml

on: push
Run all static analysis checks
1m 28s
Run all static analysis checks
Run unit tests on *Nix
56s
Run unit tests on *Nix
Run unit tests on Windows
1m 59s
Run unit tests on Windows
Run integration tests on *Nix
2m 37s
Run integration tests on *Nix
Test binary compilation for all platforms:arch
3m 20s
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/metrics/metrics.go#L538
Function 'PopulateCustomMetrics' has too many statements (54 > 50) (funlen)
Run all static analysis checks: src/metrics/metrics_test.go#L437
Function 'TestPopulatePgBouncerMetrics' is too long (176 > 100) (funlen)
Run all static analysis checks: src/metrics/metrics.go#L236
commentFormatting: put a space between `//` and comment text (gocritic)
Run all static analysis checks: src/metrics/metrics.go#L254
commentFormatting: put a space between `//` and comment text (gocritic)
Run all static analysis checks: src/metrics/metrics.go#L259
commentFormatting: put a space between `//` and comment text (gocritic)
Run all static analysis checks: src/metrics/metrics.go#L102
cyclomatic complexity 11 of func `CollectCustomConfig` is high (> 10) (gocyclo)
Run all static analysis checks: src/main.go#L29
cyclomatic complexity 11 of func `main` is high (> 10) (gocyclo)
Run all static analysis checks: src/connection/pgsql_connection.go#L36
struct of size 160 bytes could be of size 152 bytes:
Run all static analysis checks: src/connection/pgsql_connection.go#L152
`paramters` is a misspelling of `parameters` (misspell)
Run all static analysis checks: src/metrics/modelers.go#L8
`somethign` is a misspelling of `something` (misspell)
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-postgresql\nri-postgresql. Supported file pattern: go.sum
Run integration tests on *Nix
Restore cache failed: Dependencies file is not found in /home/runner/work/nri-postgresql/nri-postgresql. Supported file pattern: go.sum