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,15 +14,15 @@ jobs:
with: with:
go-version: 1.16 go-version: 1.16
- name: Tests
run: |
run: go test $(go list ./...)
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v2 uses: golangci/golangci-lint-action@v2
with: with:
version: latest version: latest
- name: Tests
run: |
go test $(go list ./...)
- name: Suggester - name: Suggester
uses: reviewdog/action-suggester@v1 uses: reviewdog/action-suggester@v1
with: with:

View File

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