From 520e776ab4af688a3bd0ab37701293e6ee28367b Mon Sep 17 00:00:00 2001 From: Borey UK Date: Thu, 3 Aug 2023 21:59:48 +0200 Subject: [PATCH] fix(golangci-lint): ignore internal/native/lib.go for linting --- .github/workflows/golangci-lint.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 1a86b04cc..865431db3 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -38,7 +38,8 @@ jobs: # working-directory: somedir # Optional: golangci-lint command line arguments. - # args: --issues-exit-code=0 + # ignore the lib.go file as it only contains cgo annotations + args: --skip-files internal/native/lib.go # Optional: show only new issues if it's a pull request. The default value is `false`. # only-new-issues: true