From 2861e9d06736118db2453b575dbb95f501c4687a Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Sat, 28 Dec 2024 18:16:57 +0100 Subject: [PATCH] feat: add timeout configuration to golangci-lint Sets a timeout of 5 minutes for golangci-lint runs to ensure that linting completes in a timely manner and prevents long-running processes from blocking the CI pipeline. --- .golangci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.golangci.yml b/.golangci.yml index 9692e46..49d25da 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,2 +1,3 @@ run: allow-parallel-runners: true + timeout: 5m