Skip to content

Update main.go

Update main.go #1433

Triggered via pull request February 15, 2024 08:23
@laodeli2046laodeli2046
opened #862
Status Failure
Total duration 21s
Artifacts

pull.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
lint: plugin/steam/listenter.go#L60
var-naming: var streamIds should be streamIDs (revive)
lint: plugin/steam/listenter.go#L120
var-naming: func parameter streamIds should be streamIDs (revive)
lint: plugin/bilibili/bilibilimodel.go#L78
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
lint: plugin/guessmusic/struct.go#L244
var-naming: struct field VideoIds should be VideoIDs (revive)
lint: plugin/guessmusic/struct.go#L246
var-naming: struct field TrackIds should be TrackIDs (revive)
lint: plugin/thesaurus/chat.go#L181
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: plugin/manager/timer/sleep.go#L158
unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
lint
issues found
closepr
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: superbrothers/close-pull-request@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
closepr
The following actions uses node12 which is deprecated and will be forced to run on node16: superbrothers/close-pull-request@v3. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/ZeroBot-Plugin/ZeroBot-Plugin. Supported file pattern: go.sum