Skip to content

Commit

Permalink
action: update golangci-lint version
Browse files Browse the repository at this point in the history
And remove golint and deadcode linters as they are deprecated and
produce no results even in v1.54.

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
  • Loading branch information
bergwolf committed Oct 8, 2024
1 parent 26a9535 commit 3c9febe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
cache: false

- name: Golangci lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86
uses: golangci/golangci-lint-action@v6
with:
version: v1.54
version: v1.61
working-directory: ${{ matrix.go-path }}
args: --config $GITHUB_WORKSPACE/.golangci.yml --verbose

Expand Down
2 changes: 0 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ linters:
enable:
- gci
- gofmt
- golint
- misspell
- govet
- goconst
- deadcode
- gocyclo
- staticcheck
- errcheck
Expand Down

0 comments on commit 3c9febe

Please sign in to comment.