Skip to content

Fix sync repo binary (#10) #23

Fix sync repo binary (#10)

Fix sync repo binary (#10) #23

Triggered via push May 25, 2023 10:14
Status Failure
Total duration 4m 46s
Artifacts

ci-go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 15 warnings
go-fmt: discover/discover.go#L194
expected '}', found 'EOF'
go-fmt: discover/discover.go#L194
expected '}', found 'EOF'
go-fmt
Process completed with exit code 2.
go-build: discover/discover.go#L194
syntax error: unexpected EOF, expected }
go-build
Process completed with exit code 2.
unit-tests: discover/discover.go#L194
syntax error: unexpected EOF, expected }
unit-tests
Process completed with exit code 2.
go-sec: discover/discover.go#L194
syntax error: unexpected EOF, expected }
go-sec
Process completed with exit code 2.
go-fmt
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
go-lint
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
go-lint: probe/probe.go#L408
if block ends with a continue statement, so drop this else and outdent its block
go-lint: probe/probe.go#L613
if block ends with a continue statement, so drop this else and outdent its block
go-lint: discoveryengine/discoveryengine.go#L22
exported function InstallLicense should have comment or be unexported
go-lint: probe/probe.go#L229
parameter 'containername' seems to be unused, consider removing or renaming it as _
go-lint: discoveryengine/discoveryengine.go#L57
exported function CheckPods should have comment or be unexported
go-lint: sysdump/sysdump.go#L51
redundant if ...; err != nil check, just return error instead.
go-lint: cmd/vmonboarding.go#L27
redundant if ...; err != nil check, just return error instead.
go-lint: cmd/log.go#L20
redundant if ...; err != nil check, just return error instead.
go-lint: cmd/summary.go#L19
redundant if ...; err != nil check, just return error instead.
go-lint: cmd/policy.go#L38
redundant if ...; err != nil check, just return error instead.
go-build
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
unit-tests
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
go-sec
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.