浏览代码

Update golangci-lint to v1.27.0

Vlad Gorodetsky 5 年之前
父节点
当前提交
db2dbead92
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      .github/workflows/ci.yml
  2. 1 0
      .golangci.yml

+ 1 - 1
.github/workflows/ci.yml

@@ -46,7 +46,7 @@ jobs:
 
     - name: Install dependencies
       run: |
-        curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6
+        curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0
         export REPOSITORY_ROOT=${GITHUB_WORKSPACE}
         vagrant/install_cluster.sh
         vagrant/boot_cluster.sh

+ 1 - 0
.golangci.yml

@@ -72,3 +72,4 @@ issues:
   exclude:
     - consider giving a name to these results
     - include an explanation for nolint directive
+    - Potential Integer overflow made by strconv.Atoi result conversion to int16/32