Selaa lähdekoodia

chore(deps): bump golangci/golangci-lint-action from 6.3.1 to 6.5.0 (#4433)

* chore(deps): bump golangci/golangci-lint-action from 6.3.1 to 6.5.0

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.3.1 to 6.5.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/2e788936b09dd82dc280e845628a40d2ba6b204c...2226d7cb06a077cd73e56eedd38eecad18e5d837)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update linter settings file

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
dependabot[bot] 1 vuosi sitten
vanhempi
commit
405f97237c
2 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. 1 1
      .github/workflows/ci.yml
  2. 3 2
      .golangci.yaml

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

@@ -59,7 +59,7 @@ jobs:
         run: go mod download
 
       - name: Lint
-        uses: golangci/golangci-lint-action@2e788936b09dd82dc280e845628a40d2ba6b204c # v6.3.1
+        uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
         with:
           version: ${{ env.GOLANGCI_VERSION }}
           skip-pkg-cache: true

+ 3 - 2
.golangci.yaml

@@ -40,7 +40,8 @@ linters-settings:
   dupl:
     threshold: 200
   govet:
-    check-shadowing: false
+    disable:
+      - shadow
   lll:
     line-length: 300
   misspell:
@@ -121,7 +122,7 @@ issues:
       text: 'SA1019: data.ValueMap is deprecated: ValueMap is deprecated and is intended to be removed in the future, use the `value` field instead.'
 
   # Maximum issues count per one linter. Set to 0 to disable. Default is 50.
-  max-per-linter: 0
+  max-issues-per-linter: 0
 
   # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
   max-same-issues: 0