From 2afa2ef48edc7845f0ae5f076b49e11ca9b40229 Mon Sep 17 00:00:00 2001 From: dharsanb Date: Sun, 15 Dec 2024 17:44:45 +0530 Subject: [PATCH] fix: fix .golangci.yml linting commit --- .github/workflows/ci.yml | 2 ++ .golangci.yml | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da104f33..cec9aff5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Go uses: actions/setup-go@v5 diff --git a/.golangci.yml b/.golangci.yml index 7804d372..f418c816 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,5 +1,6 @@ output: - format: line-number + formats: + - format: line-number linters: enable: @@ -24,3 +25,6 @@ linters: run: timeout: 2m + +issues: + new-from-rev: "490e245" \ No newline at end of file