From 3eea7922d509f995246d7afa28d58a7a25d8a385 Mon Sep 17 00:00:00 2001 From: Shivasurya Date: Sun, 19 Jan 2025 14:13:05 -0500 Subject: [PATCH] updated lint and build version --- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 2 +- sourcecode-parser/.golangci.yml | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2f1d564..9bf8908 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.22.0' + go-version: '1.23.5' - name: Check out code uses: actions/checkout@v3 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 22db372..b327348 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23.5' - name: golangci-lint uses: golangci/golangci-lint-action@v5 with: diff --git a/sourcecode-parser/.golangci.yml b/sourcecode-parser/.golangci.yml index e0ec880..dd12338 100644 --- a/sourcecode-parser/.golangci.yml +++ b/sourcecode-parser/.golangci.yml @@ -382,9 +382,6 @@ output: # Must have. Easier to understand the output. print-linter-name: true - # No, no skips, everything should be reported. - uniq-by-line: true - # To be honest no idea when this can be needed, maybe a multi-module setup? path-prefix: "" @@ -398,6 +395,8 @@ issues: exclude-files: - ".*_test.go" + uniq-by-line: true + # Same here, nothing should be skipped to not miss errors. max-same-issues: 0