Skip to content

Sync repo

Sync repo #19

Triggered via pull request May 25, 2023 10:08
Status Failure
Total duration 5m 35s
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: recommend/report_text.go#L58
parameter 'img' seems to be unused, consider removing or renaming it as _
go-lint: selfupdate/selfupdate.go#L110
parameter 'c' 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: recommend/report_html.go#L204
parameter 'img' 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-lint: cmd/license/install.go#L1
should have a package comment
go-lint: cmd/license/license.go#L10
exported var LicenseCmd should have comment or be unexported
go-lint: cmd/uninstall.go#L20
redundant if ...; err != nil check, just return error instead.
go-lint: discoveryengine/discoveryengine.go#L1
should have a package comment
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/.