mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-27 21:55:07 +03:00
golangci-lint in CI (#733)
* golangci-lint in CI * Put CI in own job * Run verify job * Use go get * Fix typo * Name lint instead of verify * Read the config * Use debug tag * Tweaks
This commit is contained in:
parent
48bf0ce210
commit
1492738c9e
4 changed files with 49 additions and 112 deletions
10
.golangci.yml
Normal file
10
.golangci.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
run:
|
||||
build-tags:
|
||||
- lint
|
||||
issues-exit-code: 0 # TODO: change this to 1 when we want it to fail builds
|
||||
skip-dirs:
|
||||
- contrib/
|
||||
- misc/
|
||||
linters:
|
||||
disable:
|
||||
- gocyclo
|
Loading…
Add table
Add a link
Reference in a new issue