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:
Madhu Rajanna 2024-04-04 11:17:47 +02:00 committed by mergify[bot]
parent 8862293475
commit 0c5a30fa47

View File

@ -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 # This file contains all available configuration options
# with their default values. # with their default values.
@ -12,7 +12,7 @@ run:
concurrency: 4 concurrency: 4
# timeout for analysis, e.g. 30s, 5m, default is 1m # 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 # exit code when at least one issue was found, default is 1
issues-exit-code: 1 issues-exit-code: 1