Skip to content

Commit

Permalink
CI: Go: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
michurin committed Jan 21, 2024
1 parent f9d21d7 commit 9e6c07e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ jobs:
run: pip install .

- name: Lint go
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: v1.43 # Required. Must be specified without patch version
version: v1.55 # Required. Must be specified without patch version
working-directory: go
- name: Lint python core code
working-directory: python
Expand Down
6 changes: 0 additions & 6 deletions go/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ linters:
disable-all: true
enable:
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
- errcheck
Expand All @@ -36,13 +34,11 @@ linters:
- revive
- rowserrcheck
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace
# disabled by default
# TODO: check desabled
Expand All @@ -52,7 +48,6 @@ linters:
# - errorlint
# - exhaustivestruct
- forbidigo
- forcetypeassert
- gci
- gochecknoglobals
- gochecknoinits
Expand All @@ -65,7 +60,6 @@ linters:
# - gomnd
- gomoddirectives
- gomodguard
- ifshort
- importas
- makezero
- nestif
Expand Down

0 comments on commit 9e6c07e

Please sign in to comment.