update golang lint
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
parent
5d0a5671f2
commit
18942e2a2c
|
|
@ -25,4 +25,4 @@ jobs:
|
|||
- name: Golangci lint
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.46.2
|
||||
version: v1.48.0
|
||||
|
|
@ -62,6 +62,12 @@ output:
|
|||
|
||||
# all available settings of specific linters
|
||||
linters-settings:
|
||||
gci:
|
||||
sections:
|
||||
- standard
|
||||
- default
|
||||
- prefix(github.com/helmfile/helmfile)
|
||||
|
||||
errcheck:
|
||||
# report about not checking of errors in type assetions: `a := b.(MyStruct)`;
|
||||
# default is false: such cases aren't reported by default.
|
||||
|
|
@ -278,6 +284,7 @@ linters:
|
|||
- unparam
|
||||
- unused
|
||||
- whitespace
|
||||
- gci
|
||||
# don't enable:
|
||||
# - deadcode
|
||||
# - gochecknoglobals
|
||||
|
|
|
|||
Loading…
Reference in New Issue