This is an automated email from the ASF dual-hosted git repository.

aleksraiden pushed a commit to branch aleksraiden-patch-go1.23
in repository https://gitbox.apache.org/repos/asf/kvrocks-controller.git

commit 336238080286126b287b3ce5356da4cdd1eae2de
Author: Aleks Lozovyuk <[email protected]>
AuthorDate: Fri Jan 3 13:44:46 2025 +0200

    Update golangci config to use go 1.23
---
 .golangci.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.golangci.yml b/.golangci.yml
index e44b676..443e3d6 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -290,7 +290,7 @@ linters-settings:
 
   gosimple:
     # Select the Go version to target. The default is '1.13'.
-    go: "1.19"
+    go: "1.23"
     # https://staticcheck.io/docs/options#checks
     checks: [ "all" ]
 
@@ -435,13 +435,13 @@ linters-settings:
 
   staticcheck:
     # Select the Go version to target. The default is '1.13'.
-    go: "1.19"
+    go: "1.23"
     # https://staticcheck.io/docs/options#checks
     checks: [ "all" ]
 
   stylecheck:
     # Select the Go version to target. The default is '1.13'.
-    go: "1.19"
+    go: "1.23"
     # https://staticcheck.io/docs/options#checks
     checks: [ "all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", 
"-ST1022" ]
     # https://staticcheck.io/docs/options#dot_import_whitelist
@@ -474,7 +474,7 @@ linters-settings:
 
   unused:
     # Select the Go version to target. The default is '1.13'.
-    go: "1.19"
+    go: "1.23"
 
   whitespace:
     multi-if: false   # Enforces newlines (or comments) after every multi-line 
if statement

Reply via email to