Explorar el Código

golangci only show new issues

Kslr hace 5 años
padre
commit
d3e3f787d4
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. 3 0
      .github/linters/.golangci.yml
  2. 0 1
      .github/workflows/linter.yml

+ 3 - 0
.github/linters/.golangci.yml

@@ -44,3 +44,6 @@ linters:
     - unused
     - varcheck
     - whitespace
+
+issues:
+  new: true

+ 0 - 1
.github/workflows/linter.yml

@@ -63,5 +63,4 @@ jobs:
         uses: golangci/golangci-lint-action@v2
         with:
           version: v1.31
-          only-new-issues: true
           args: --config=.github/linters/.golangci.yml