浏览代码

Merge pull request #232 from 9seconds/golangcilint-1.43.0

Golangcilint 1.43.0
tags/v2.1.3^2
Sergey Arkhipov 4 年前
父节点
当前提交
ad30eca406
没有帐户链接到提交者的电子邮件
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1
    1
      .github/workflows/ci.yaml
  2. 1
    1
      .golangci.toml
  3. 1
    1
      Makefile

+ 1
- 1
.github/workflows/ci.yaml 查看文件

@@ -83,7 +83,7 @@ jobs:
83 83
       - name: Run linter
84 84
         uses: golangci/golangci-lint-action@v2
85 85
         with:
86
-          version: v1.42.1
86
+          version: v1.43.0
87 87
 
88 88
   docker:
89 89
     name: Docker

+ 1
- 1
.golangci.toml 查看文件

@@ -9,4 +9,4 @@ format = "colored-line-number"
9 9
 
10 10
 [linters]
11 11
 enable-all = true
12
-disable = ["gochecknoglobals", "gas", "goerr113", "exhaustivestruct"]
12
+disable = ["ireturn", "varnamelen", "gochecknoglobals", "gas", "goerr113", "exhaustivestruct"]

+ 1
- 1
Makefile 查看文件

@@ -2,7 +2,7 @@ ROOT_DIR     := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
2 2
 IMAGE_NAME   := mtg
3 3
 APP_NAME     := $(IMAGE_NAME)
4 4
 
5
-GOLANGCI_LINT_VERSION := v1.42.1
5
+GOLANGCI_LINT_VERSION := v1.43.0
6 6
 
7 7
 VERSION_GO         := $(shell go version)
8 8
 VERSION_DATE       := $(shell date -Ru)

正在加载...
取消
保存