Skip to content

Commit

Permalink
ci: update golangci-lint, remove deprecated linters (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann authored Aug 27, 2024
1 parent b44b12a commit 6207464
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
go-version: '1.22.x'
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.57.2
version: v1.60.3
6 changes: 1 addition & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,20 @@ linters:
disable-all: true
enable:
- asciicheck
- deadcode
- exhaustive
- exportloopref
- goconst
- gofmt # redundant, since gofmt *should* be a no-op after gofumpt
- gofumpt
- goimports
- gosimple
- govet
- ineffassign
- misspell
- prealloc
- scopelint
- staticcheck
- stylecheck
- structcheck
- unconvert
- unparam
- unused
- varcheck
- vet

0 comments on commit 6207464

Please sign in to comment.