Skip to content

Fix sync repo binary #22

Fix sync repo binary

Fix sync repo binary #22

Triggered via pull request May 25, 2023 10:13
Status Failure
Total duration 6m 15s
Artifacts

ci-go.yml

on: pull_request
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: discover/discover.go#L194
invalid file discover/discover.go: discover/discover.go:194:5: expected '}', found 'EOF'
go-lint: discoveryengine/discoveryengine.go#L57
exported function CheckPods should have comment or be unexported
go-lint: discoveryengine/discoveryengine.go#L22
exported function InstallLicense should have comment or be unexported
go-lint: discoveryengine/discoveryengine.go#L1
should have a package comment
go-lint: selfupdate/selfupdate.go#L110
parameter 'c' seems to be unused, consider removing or renaming it as _
go-lint: probe/probe.go#L271
parameter 'kernelVersion' seems to be unused, consider removing or renaming it as _
go-lint: probe/probe.go#L229
parameter 'containername' seems to be unused, consider removing or renaming it as _
go-lint: recommend/report_text.go#L58
parameter 'img' seems to be unused, consider removing or renaming it as _
go-lint: recommend/runtimePolicy.go#L79
parameter 'distro' seems to be unused, consider removing or renaming it as _
go-lint: vm/getscript.go#L72
parameter 'options' seems to be unused, consider removing or renaming it as _
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/.