From 7f2708c9ad2a488a32281dba1d4f002d9684a5c0 Mon Sep 17 00:00:00 2001 From: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com> Date: Thu, 23 Mar 2023 10:18:05 +0530 Subject: [PATCH] Ignore Lint from go.mod Signed-off-by: Shubham Gupta --- operator-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operator-ci.yaml b/operator-ci.yaml index f2c737e..21d2018 100644 --- a/operator-ci.yaml +++ b/operator-ci.yaml @@ -71,7 +71,7 @@ stages: version: '${{ parameters.GolangVersion }}' - script: | curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.40.0 - ./bin/golangci-lint run --timeout 5m0s ./... + ./bin/golangci-lint run --exclude go.mod --timeout 5m0s ./... displayName: "Executing golang-ci lint" - stage: container_quality