mirror of
https://github.com/safing/portmaster
synced 2025-09-01 10:09:11 +00:00
[service] Update golangci-lint
This commit is contained in:
parent
78e4a40750
commit
113dc0438a
2 changed files with 5 additions and 4 deletions
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
|
@ -40,7 +40,7 @@ jobs:
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v4
|
uses: golangci/golangci-lint-action@v4
|
||||||
with:
|
with:
|
||||||
version: v1.57.1
|
version: v1.60.3
|
||||||
only-new-issues: true
|
only-new-issues: true
|
||||||
args: -c ./.golangci.yml --timeout 15m
|
args: -c ./.golangci.yml --timeout 15m
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,13 @@ linters:
|
||||||
- gocyclo
|
- gocyclo
|
||||||
- goerr113
|
- goerr113
|
||||||
- gomnd
|
- gomnd
|
||||||
|
- gomoddirectives
|
||||||
- ifshort
|
- ifshort
|
||||||
- interfacebloat
|
- interfacebloat
|
||||||
- interfacer
|
- interfacer
|
||||||
- ireturn
|
- ireturn
|
||||||
- lll
|
- lll
|
||||||
|
- mnd
|
||||||
- musttag
|
- musttag
|
||||||
- nestif
|
- nestif
|
||||||
- nilnil
|
- nilnil
|
||||||
|
@ -31,16 +33,15 @@ linters:
|
||||||
- nolintlint
|
- nolintlint
|
||||||
- nonamedreturns
|
- nonamedreturns
|
||||||
- nosnakecase
|
- nosnakecase
|
||||||
|
- perfsprint # TODO(ppacher): we should re-enanble this one to avoid costly fmt.* calls in the hot-path
|
||||||
- revive
|
- revive
|
||||||
- tagliatelle
|
- tagliatelle
|
||||||
|
- testifylint
|
||||||
- testpackage
|
- testpackage
|
||||||
- varnamelen
|
- varnamelen
|
||||||
- whitespace
|
- whitespace
|
||||||
- wrapcheck
|
- wrapcheck
|
||||||
- wsl
|
- wsl
|
||||||
- perfsprint # TODO(ppacher): we should re-enanble this one to avoid costly fmt.* calls in the hot-path
|
|
||||||
- testifylint
|
|
||||||
- gomoddirectives
|
|
||||||
|
|
||||||
linters-settings:
|
linters-settings:
|
||||||
revive:
|
revive:
|
||||||
|
|
Loading…
Add table
Reference in a new issue