feat: include dockerfile to trigger pre-release #152
push_pr.yml
on: push
Test binary compilation and packaging for linux
2m 30s
Run all static analysis checks
1m 19s
Run security checks via snyk
22s
Run unit tests on *Nix
53s
Run unit tests on Windows
2m 41s
Run integration tests on *Nix
1m 33s
Matrix: Create MSI
Annotations
10 errors and 5 warnings
Run all static analysis checks:
src/instance/sql_instance.go#L28
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"expected 1 row for instance name got %d\", length)" (goerr113)
|
Run all static analysis checks:
src/instance/sql_instance_test.go#L23
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"error\")" (goerr113)
|
Run all static analysis checks:
src/inventory/inventory_test.go#L103
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"error\")" (goerr113)
|
Run all static analysis checks:
src/inventory/inventory_test.go#L161
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"error\")" (goerr113)
|
Run all static analysis checks:
src/metrics/metrics.go#L142
Function 'populateCustomMetrics' has too many statements (61 > 50) (funlen)
|
Run all static analysis checks:
src/metrics/database_metric_definitions.go#L17
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(query, databasePlaceHolder, dbName, -1)` (gocritic)
|
Run all static analysis checks:
src/metrics/metric_definitions_test.go#L28
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(query, "%REPLACE%", "*", -1)` (gocritic)
|
Run all static analysis checks:
src/metrics/metrics_test.go#L26
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
Run all static analysis checks:
src/metrics/metrics.go#L205
`if !ok` has complex nested blocks (complexity: 7) (nestif)
|
Run all static analysis checks:
src/metrics/database_metric_definitions_test.go#L8
unnecessary leading newline (whitespace)
|
Run all static analysis checks
The following actions uses node12 which is deprecated and will be forced to run on node16: golangci/golangci-lint-action@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
Unexpected input(s) 'auditOn', valid inputs are ['entryPoint', 'args', 'config', 'publishToken']
|
Run all static analysis checks
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 all static analysis checks
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 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/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
windows-packages
Expired
|
4.59 MB |
|