Skip to content

Example of Consuming an External CLI Plugin #2

Example of Consuming an External CLI Plugin

Example of Consuming an External CLI Plugin #2

Triggered via pull request July 23, 2024 23:51
Status Success
Total duration 3m 6s
Artifacts

check-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: pkg/plugins/actions.go#L76
commentedOutCode: may want to remove commented-out code (gocritic)
Lint: cmd/root.go#L73
commentedOutCode: may want to remove commented-out code (gocritic)
Lint: cmd/root.go#L84
commentedOutCode: may want to remove commented-out code (gocritic)
Lint: cmd/root.go#L49
nestingReduce: invert if cond, replace body with `continue`, move old body after the statement (gocritic)
Lint: pkg/analyze/analyze.go#L1
Actual: CLI contributors. All Rights Reserved.
Lint: pkg/listen/rest/rest.go#L1
Actual: CLI contributors. All Rights Reserved.
Lint: pkg/manage/manage.go#L1
Actual: CLI contributors. All Rights Reserved.
Lint: cmd/root.go#L16
ST1022: comment on exported var RootCmd should be of the form "RootCmd ..." (stylecheck)
Lint: cmd/listen/rest/rest.go#L13
ST1022: comment on exported var SttRestCmd should be of the form "SttRestCmd ..." (stylecheck)
Lint: cmd/listen/listen.go#L14
ST1022: comment on exported var ListenCmd should be of the form "ListenCmd ..." (stylecheck)
Lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/