Skip to content

Increase code coverage #72

Increase code coverage

Increase code coverage #72

Triggered via pull request January 22, 2025 11:51
Status Failure
Total duration 55s
Artifacts

common-workflows.yaml

on: pull_request
Golang Validation  /  Lint golang code
21s
Golang Validation / Lint golang code
Golang Validation  /  Yaml Lint
13s
Golang Validation / Yaml Lint
Quality Checks  /  Unit tests and package coverage
34s
Quality Checks / Unit tests and package coverage
Quality Checks  /  GoSec
36s
Quality Checks / GoSec
Quality Checks  /  Go Formatter and Vetter
30s
Quality Checks / Go Formatter and Vetter
Quality Checks  /  Malware Scan
45s
Quality Checks / Malware Scan
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
Golang Validation / Lint golang code: api/api_test.go#L245
File is not properly formatted (gofumpt)
Golang Validation / Lint golang code: api/json/json_decode_test.go#L10
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: api/json/json_fold_test.go#L9
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: api/json/json_fold_test.go#L10
File is not properly formatted (gofumpt)
Golang Validation / Lint golang code: api/v1/api_v1_snapshots_test.go#L26
var-declaration: should drop = 0 from declaration of var x; it is the zero value (revive)
Golang Validation / Lint golang code: api/v1/api_v1_snapshots_test.go#L59
var-declaration: should drop = 0 from declaration of var id; it is the zero value (revive)
Golang Validation / Lint golang code: api/v1/api_v1_user_groups_test.go#L23
var-declaration: should drop = 0 from declaration of var queryLimit; it is the zero value (revive)
Golang Validation / Lint golang code: api/v1/api_v1_user_groups_test.go#L38
var-declaration: should drop = 0 from declaration of var gid; it is the zero value (revive)
Golang Validation / Lint golang code: api/v1/api_v1_user_groups_test.go#L52
var-declaration: should drop = 0 from declaration of var gid; it is the zero value (revive)
Golang Validation / Lint golang code: api/v1/api_v1_user_groups_test.go#L76
var-declaration: should drop = 0 from declaration of var gid; it is the zero value (revive)
Golang Validation / Yaml Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Golang Validation / Lint golang code
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Quality Checks / Go Formatter and Vetter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Quality Checks / Unit tests and package coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Quality Checks / GoSec
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Quality Checks / Malware Scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636