1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 19:43:49 +08:00

Merge pull request #890 from Ink-33/patch-1

chore(linter): use revive
This commit is contained in:
wdvxdr1123 2021-05-23 16:16:17 +08:00 committed by GitHub
commit 9a8ac6fd00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -14,16 +14,16 @@ jobs:
with:
go-version: 1.16
- name: Tests
run: |
run: go test $(go list ./...)
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
- name: Tests
run: |
go test $(go list ./...)
- name: Suggester
uses: reviewdog/action-suggester@v1
with:
tool_name: golangci-lint
tool_name: golangci-lint

View File

@ -55,7 +55,7 @@ linters:
- prealloc
- predeclared
- asciicheck
- golint
- revive
- forbidigo
- makezero
#- interfacer