Skip to content

Commit

Permalink
fix: golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Dec 15, 2024
1 parent 12148fa commit cefbbcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: stable
- uses: golangci/golangci-lint-action@v4
- uses: golangci/golangci-lint-action@v6
with:
version: v1.57.2
version: v1.62.2

tests:
# run after golangci-lint action to not produce duplicated errors
Expand Down
13 changes: 2 additions & 11 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,36 +39,27 @@ linters:
enable-all: true
disable:
- cyclop
- deadcode
- depguard
- dupl
- dupword
- exhaustivestruct
- exhaustruct
- exportloopref
- forbidigo
- funlen
- gci
- gocognit
- gocyclo
- godox
- golint
- gomnd
- ifshort
- interfacer
- mnd
- lll
- maintidx
- maligned
- nakedret
- nestif
- nlreturn
- nosnakecase
- paralleltest
- prealloc
- rowserrcheck
- scopelint
- structcheck
- testpackage
- varcheck
- varnamelen
- wastedassign

Expand Down

0 comments on commit cefbbcb

Please sign in to comment.