mirror of https://github.com/v2ray/v2ray-core
add golangci to lint
parent
4970af7e00
commit
f624dd3249
|
@ -1,8 +1,8 @@
|
|||
run:
|
||||
modules-download-mode: vendor
|
||||
skip-dirs:
|
||||
- generated.*
|
||||
- external
|
||||
skip-files:
|
||||
- generated.*
|
||||
|
||||
linters:
|
||||
enable:
|
||||
|
|
|
@ -57,3 +57,11 @@ jobs:
|
|||
echo -e "\033[0;31m$filesNeedToFormat\033[0m"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: golangci-lint
|
||||
if: ${{ always() }}
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
version: v1.31
|
||||
only-new-issues: true
|
||||
args: --config=.github/linters/.golangci.yml
|
Loading…
Reference in New Issue