Skip to content

Commit

Permalink
ci: fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
  • Loading branch information
leodido committed Sep 4, 2024
1 parent 0fd8ecf commit 6e1ee14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
go mod download
- name: Lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout 15m0s --verbose --out-${IGNORE_FUTURE_WARNINGS}format tab
version: v1.57.1
args: --timeout 20m0s --verbose --out-${IGNORE_FUTURE_WARNINGS}format tab

4 changes: 1 addition & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ linters:
disable-all: true
enable:
- bodyclose
- copyloopvar
- durationcheck
- errcheck
- errname
- exportloopref
- goconst
- gocritic
- gocyclo
Expand Down Expand Up @@ -36,8 +36,6 @@ linters:
linters-settings:
gofmt:
simplify: false
govet:
check-shadowing: true
goconst:
ignore-tests: true
gocyclo:
Expand Down

0 comments on commit 6e1ee14

Please sign in to comment.