Skip to content

fix: lint go version issue #70

fix: lint go version issue

fix: lint go version issue #70

Triggered via push May 4, 2024 13:20
Status Failure
Total duration 37s
Artifacts

push.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
lint: ban.go#L9
import 'github.com/sirupsen/logrus' is not allowed from list 'Main' (depguard)
lint: ban.go#L10
import 'github.com/wdvxdr1123/ZeroBot/utils/helper' is not allowed from list 'Main' (depguard)
lint: control.go#L7
import 'github.com/sirupsen/logrus' is not allowed from list 'Main' (depguard)
lint: data.go#L9
import 'github.com/sirupsen/logrus' is not allowed from list 'Main' (depguard)
lint: data.go#L10
import 'github.com/wdvxdr1123/ZeroBot/utils/helper' is not allowed from list 'Main' (depguard)
lint: manager.go#L10
import 'github.com/FloatTech/sqlite' is not allowed from list 'Main' (depguard)
lint
golangci-lint exit with code 7
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/