mirror of
https://github.com/usememos/memos.git
synced 2025-03-06 10:34:01 +08:00
chore: fix golangci linter
This commit is contained in:
parent
80f9b5b861
commit
96b9269cd3
2 changed files with 1 additions and 5 deletions
2
.github/workflows/backend-tests.yml
vendored
2
.github/workflows/backend-tests.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v6
|
uses: golangci/golangci-lint-action@v6
|
||||||
with:
|
with:
|
||||||
version: v1.54.1
|
version: v1.56.1
|
||||||
args: --verbose --timeout=3m
|
args: --verbose --timeout=3m
|
||||||
skip-cache: true
|
skip-cache: true
|
||||||
|
|
||||||
|
|
|
@ -22,11 +22,7 @@ issues:
|
||||||
# https://golangci-lint.run/usage/configuration/#command-line-options
|
# https://golangci-lint.run/usage/configuration/#command-line-options
|
||||||
exclude:
|
exclude:
|
||||||
- Rollback
|
- Rollback
|
||||||
- logger.Sync
|
|
||||||
- pgInstance.Stop
|
|
||||||
- fmt.Printf
|
- fmt.Printf
|
||||||
- Enter(.*)_(.*)
|
|
||||||
- Exit(.*)_(.*)
|
|
||||||
|
|
||||||
linters-settings:
|
linters-settings:
|
||||||
goimports:
|
goimports:
|
||||||
|
|
Loading…
Reference in a new issue