This is an automated email from the ASF dual-hosted git repository.
hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-redis-watcher.git
The following commit(s) were added to refs/heads/master by this push:
new 2a6ec7d fix: update golangci-lint config for v2.15
2a6ec7d is described below
commit 2a6ec7df6c49e2dca2faaf3dec040a94b6ced415
Author: Yang Luo <[email protected]>
AuthorDate: Mon Oct 19 22:46:41 2026 +0800
fix: update golangci-lint config for v2.15
---
.github/workflows/golangci-lint.yml | 2 ++
.golangci.yml | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/golangci-lint.yml
b/.github/workflows/golangci-lint.yml
index fc264a6..45266d3 100644
--- a/.github/workflows/golangci-lint.yml
+++ b/.github/workflows/golangci-lint.yml
@@ -23,3 +23,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
+ with:
+ version: v2.15.0
diff --git a/.golangci.yml b/.golangci.yml
index 1735507..f23830d 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -59,7 +59,7 @@ linters:
exhaustive:
check:
- switch
- - map
+ - mapliteral
funlen:
lines: 100
statements: 50
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]