Parcourir la source

update golangci-lint version (#4897)

fatedier il y a 3 semaines
Parent
commit
7fe295f4f4
2 fichiers modifiés avec 4 ajouts et 11 suppressions
  1. 1 11
      .github/workflows/golangci-lint.yml
  2. 3 0
      .golangci.yml

+ 1 - 11
.github/workflows/golangci-lint.yml

@@ -23,14 +23,4 @@ jobs:
       uses: golangci/golangci-lint-action@v8
       with:
         # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
-        version: v2.1
-
-        # Optional: golangci-lint command line arguments.
-        # args: --issues-exit-code=0
-
-        # Optional: show only new issues if it's a pull request. The default value is `false`.
-        # only-new-issues: true
-
-        # Optional: if set to true then the all caching functionality will be complete disabled,
-        #           takes precedence over all other caching options.
-        # skip-cache: true
+        version: v2.3

+ 3 - 0
.golangci.yml

@@ -73,6 +73,9 @@ linters:
     - linters:
       - revive
       text: unused-parameter
+    - linters:
+      - revive
+      text: "avoid meaningless package names"
     - linters:
       - unparam
       text: is always false