diff options
author | Duco van Amstel <duco.vanamstel@gmail.com> | 2019-04-04 21:54:51 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2019-04-04 22:54:51 +0200 |
commit | 7f0e4ad4487cf03288af7519434f5d54844f47e1 (patch) | |
tree | 3498fb2c1436ee15a3388d1325debe726cd6d7fd /.golangci.yaml | |
parent | 17cc14a9d2351fcd0608c2a81eb32fd9fc3ec987 (diff) | |
download | matterbridge-msglm-7f0e4ad4487cf03288af7519434f5d54844f47e1.tar.gz matterbridge-msglm-7f0e4ad4487cf03288af7519434f5d54844f47e1.tar.bz2 matterbridge-msglm-7f0e4ad4487cf03288af7519434f5d54844f47e1.zip |
Add CI fixes and improvements (#780)
* Update GolangCI-lint and lint config
The `algo` parameter for the `unparam` linter has been removed and we
should thus no longer specify it. Also, bumping the GolangCI-lint
version to the latest available minor release.
See: mvdan/unparam@e6a6d1c51b6f03ac1a9d120f1ea07bc3a3f0e0b9
* Fix and improve bintray CI script
* Further CI setup improvements
* Split-out CI steps into stand-alone scripts
Diffstat (limited to '.golangci.yaml')
-rw-r--r-- | .golangci.yaml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/.golangci.yaml b/.golangci.yaml index d6222775..82b2d750 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -7,7 +7,7 @@ run: # concurrency: 4 # timeout for analysis, e.g. 30s, 5m, default is 1m - deadline: 1m + deadline: 2m # exit code when at least one issue was found, default is 1 issues-exit-code: 1 @@ -105,10 +105,6 @@ linters-settings: # with golangci-lint call it on a directory with the changed file. check-exported: false unparam: - # call graph construction algorithm (cha, rta). In general, use cha for libraries, - # and rta for programs with main packages. Default is cha. - algo: rta - # Inspect exported functions, default is false. Set to true if no external program/library imports your code. # XXX: if you enable this setting, unparam will report a lot of false-positives in text editors: # if it's called for subdir of a project it can't find external interfaces. All text editor integrations |