mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
fix lint
This commit is contained in:
parent
5e301ccaaf
commit
6e2b10b788
3
.github/workflows/pull.yml
vendored
3
.github/workflows/pull.yml
vendored
@ -25,6 +25,9 @@ jobs:
|
||||
# Optional: golangci-lint command line arguments.
|
||||
# args: --issues-exit-code=0
|
||||
|
||||
# Optional: if set to true then the action will use pre-installed Go.
|
||||
skip-go-installation: true
|
||||
|
||||
# Optional: show only new issues if it's a pull request. The default value is `false`.
|
||||
# only-new-issues: true
|
||||
|
||||
|
||||
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
@ -18,6 +18,8 @@ jobs:
|
||||
with:
|
||||
version: latest
|
||||
args: --issues-exit-code=0
|
||||
# Optional: if set to true then the action will use pre-installed Go.
|
||||
skip-go-installation: true
|
||||
- name: Commit back
|
||||
continue-on-error: true
|
||||
run: |
|
||||
|
||||
@ -26,7 +26,7 @@ linters:
|
||||
- exhaustive
|
||||
#- funlen
|
||||
#- goconst
|
||||
#- gocritic
|
||||
- gocritic
|
||||
#- gocyclo
|
||||
- gofmt
|
||||
- goimports
|
||||
|
||||
Loading…
Reference in New Issue
Block a user