Skip to content

Sync repo (#8)

Sync repo (#8) #18

Triggered via push May 25, 2023 09:42
Status Failure
Total duration 7m 19s
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: 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: sysdump/sysdump.go#L51
redundant if ...; err != nil check, just return error instead.
go-lint: sysdump/sysdump.go#L63
redundant if ...; err != nil check, just return error instead.
go-lint: sysdump/sysdump.go#L76
redundant if ...; err != nil check, just return error instead.
go-lint: recommend/report_text.go#L58
parameter 'img' seems to be unused, consider removing or renaming it as _
go-lint: cmd/discover.go#L19
redundant if ...; err != nil check, just return error instead.
go-lint: recommend/report_html.go#L204
parameter 'img' 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/.