From 0c5a30fa474050ff9fd33cd3681f7d29a4d7662d Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Thu, 4 Apr 2024 11:17:47 +0200 Subject: [PATCH] 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 --- scripts/golangci.yml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/golangci.yml.in b/scripts/golangci.yml.in index d1f4767bf..d96739ed3 100644 --- a/scripts/golangci.yml.in +++ b/scripts/golangci.yml.in @@ -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