Skip to content

Bump github.com/spf13/viper from 1.14.0 to 1.17.0 #47

Bump github.com/spf13/viper from 1.14.0 to 1.17.0

Bump github.com/spf13/viper from 1.14.0 to 1.17.0 #47

Triggered via pull request November 1, 2023 22:48
Status Failure
Total duration 2m 31s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 4 warnings
Unit tests: check/controls.go#L255
cannot use *aws.Int32(100) (variable of type int32) as type *int32 in struct literal
Unit tests: internal/findings/publisher.go#L57
cannot convert 0 (untyped int constant) to *int32
Unit tests: internal/findings/publisher.go#L58
invalid operation: o.FailedCount += r.FailedCount (mismatched types int32 and *int32)
Unit tests: internal/findings/publisher.go#L60
cannot convert 0 (untyped int constant) to *int32
Unit tests: internal/findings/publisher.go#L61
invalid operation: o.SuccessCount += r.SuccessCount (mismatched types int32 and *int32)
Unit tests
Process completed with exit code 2.
Lint: internal/findings/doc.go#L1
: # github.com/khulnasoft-lab/kube-bench/internal/findings
Lint: internal/findings/publisher.go#L57
cannot convert 0 (untyped int constant) to *int32
Lint: internal/findings/publisher.go#L58
invalid operation: o.FailedCount += r.FailedCount (mismatched types int32 and *int32)
Lint: internal/findings/publisher.go#L60
cannot convert 0 (untyped int constant) to *int32
Lint: internal/findings/publisher.go#L61
invalid operation: o.SuccessCount += r.SuccessCount (mismatched types int32 and *int32) (typecheck)
Lint: check/check.go#L1
: # github.com/khulnasoft-lab/kube-bench/check [github.com/khulnasoft-lab/kube-bench/check.test]
Lint: check/controls.go#L255
cannot use *aws.Int32(100) (variable of type int32) as type *int32 in struct literal
Lint: check/controls_test.go#L411
cannot use *aws.Int32(100) (variable of type int32) as type *int32 in struct literal (typecheck)
Lint: cmd/common.go#L29
could not import github.com/khulnasoft-lab/kube-bench/check (-: # github.com/khulnasoft-lab/kube-bench/check
Lint: check/controls.go#L255
cannot use *aws.Int32(100) (variable of type int32) as type *int32 in struct literal) (typecheck)
E2e tests
cannot use *aws.Int32(100) (variable of type int32) as *int32 value in struct literal
E2e tests
invalid operation: r.FailedCount != 0 (mismatched types *int32 and untyped int)
E2e tests
invalid operation: o.FailedCount += r.FailedCount (mismatched types int32 and *int32)
E2e tests
invalid operation: r.SuccessCount != 0 (mismatched types *int32 and untyped int)
E2e tests
invalid operation: o.SuccessCount += r.SuccessCount (mismatched types int32 and *int32)
E2e tests
cannot use *aws.Int32(100) (variable of type int32) as *int32 value in struct literal
E2e tests
invalid operation: r.FailedCount != 0 (mismatched types *int32 and untyped int)
E2e tests
invalid operation: o.FailedCount += r.FailedCount (mismatched types int32 and *int32)
E2e tests
invalid operation: r.SuccessCount != 0 (mismatched types *int32 and untyped int)
E2e tests
invalid operation: o.SuccessCount += r.SuccessCount (mismatched types int32 and *int32)
Unit tests
Restore cache failed: Dependencies file is not found in /home/runner/work/kube-bench/kube-bench. Supported file pattern: go.sum
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/kube-bench/kube-bench. Supported file pattern: go.sum
E2e tests
The following actions uses node12 which is deprecated and will be forced to run on node16: engineerd/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
E2e tests
Restore cache failed: Dependencies file is not found in /home/runner/work/kube-bench/kube-bench. Supported file pattern: go.sum