chore(deps): update actions/setup-go action to v5 #12
Annotations
10 errors and 1 warning
src/metrics/metrics.go#L142
Function 'populateCustomMetrics' has too many statements (61 > 50) (funlen)
|
src/mssql.go#L92
exitAfterDefer: os.Exit will exit, and `defer con.Close()` will not run (gocritic)
|
src/metrics/database_metric_definitions.go#L17
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(query, databasePlaceHolder, dbName, -1)` (gocritic)
|
src/metrics/metric_definitions_test.go#L28
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(query, "%REPLACE%", "*", -1)` (gocritic)
|
src/args/argument_list.go#L33
cyclomatic complexity 12 of func `(ArgumentList).Validate` is high (> 10) (gocyclo)
|
src/metrics/metrics_test.go#L26
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
src/args/argument_list.go#L13
struct of size 224 bytes could be of size 208 bytes:
|
src/metrics/metrics.go#L205
`if !ok` has complex nested blocks (complexity: 7) (nestif)
|
src/connection/sql_connection.go#L54
unnecessary leading newline (whitespace)
|
src/connection/sql_connection.go#L85
unnecessary trailing newline (whitespace)
|
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/
|
The logs for this run have expired and are no longer available.
Loading