From cfde072d597f83400e90645258a8322a84bace3f Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Mon, 9 Sep 2024 11:29:25 +0200 Subject: [PATCH] [linter] Exclude `G115 - integer overflow` When the language has no solution to check the overflow in time of convert, so linter shouldn't check the overflow. --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9f3ed41..c805c65 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,4 +21,4 @@ jobs: uses: golangci/golangci-lint-action@v6.1.0 with: version: latest - args: -E bodyclose,gocritic,gofmt,gosec,govet,nestif,nlreturn,revive,rowserrcheck --exclude G401,G501,G107 + args: -E bodyclose,gocritic,gofmt,gosec,govet,nestif,nlreturn,revive,rowserrcheck --exclude G401,G501,G107,G115