mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 19:43:49 +08:00
commit
9a8ac6fd00
10
.github/workflows/suggester.yml
vendored
10
.github/workflows/suggester.yml
vendored
@ -14,16 +14,16 @@ 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:
|
||||||
tool_name: golangci-lint
|
tool_name: golangci-lint
|
||||||
|
@ -55,7 +55,7 @@ linters:
|
|||||||
- prealloc
|
- prealloc
|
||||||
- predeclared
|
- predeclared
|
||||||
- asciicheck
|
- asciicheck
|
||||||
- golint
|
- revive
|
||||||
- forbidigo
|
- forbidigo
|
||||||
- makezero
|
- makezero
|
||||||
#- interfacer
|
#- interfacer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user