chore: update golangci-lint to v2

This commit is contained in:
Alexandre Pujol 2025-04-04 23:46:40 +02:00
parent 984cf28e61
commit d00f204cc5
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 12 additions and 4 deletions

View file

@ -30,7 +30,7 @@ golangci-lint:
stage: lint
image: golangci/golangci-lint
script:
- golangci-lint run --exclude-dirs pkg/paths
- golangci-lint run
packer:
stage: lint

View file

@ -1,5 +1,13 @@
---
linters-settings:
version: "2"
linters:
settings:
staticcheck:
checks: ["all", "-SA1019" ]
checks:
- all
- -SA1019
- -ST1000
exclusions:
paths:
- pkg/paths