mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
ci: use timeout for golangci-lint
deadline is replaced with timeout in recent release and updated the reference to the new sample yaml. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
8862293475
commit
0c5a30fa47
@ -1,5 +1,5 @@
|
||||
---
|
||||
# https://github.com/golangci/golangci-lint/blob/master/.golangci.example.yml
|
||||
# https://github.com/golangci/golangci-lint/blob/master/.golangci.reference.yml
|
||||
# This file contains all available configuration options
|
||||
# with their default values.
|
||||
|
||||
@ -12,7 +12,7 @@ run:
|
||||
concurrency: 4
|
||||
|
||||
# timeout for analysis, e.g. 30s, 5m, default is 1m
|
||||
deadline: 20m
|
||||
timeout: 20m
|
||||
|
||||
# exit code when at least one issue was found, default is 1
|
||||
issues-exit-code: 1
|
||||
|
Loading…
Reference in New Issue
Block a user