ci(github action): use golangci-lint to replace the deprecated golint (#1175)
* ci: use golangci-lint to replace the deprecated golint Co-authored-by: ymh199478 <yumenghan@bilibili.com>pull/1179/head
parent
a7b1af764f
commit
4780b6e1fd
@ -0,0 +1,11 @@ |
||||
run: |
||||
timeout: 5m |
||||
modules-download-mode: readonly |
||||
skip-files: |
||||
- ".*_test\\.go$" |
||||
|
||||
linters: |
||||
enable: |
||||
- revive |
||||
- staticcheck |
||||
- govet |
Loading…
Reference in new issue