mirror of
https://github.com/usememos/memos.git
synced 2025-03-05 10:03:06 +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
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.54.1
|
||||
version: v1.56.1
|
||||
args: --verbose --timeout=3m
|
||||
skip-cache: true
|
||||
|
||||
|
|
|
@ -22,11 +22,7 @@ issues:
|
|||
# https://golangci-lint.run/usage/configuration/#command-line-options
|
||||
exclude:
|
||||
- Rollback
|
||||
- logger.Sync
|
||||
- pgInstance.Stop
|
||||
- fmt.Printf
|
||||
- Enter(.*)_(.*)
|
||||
- Exit(.*)_(.*)
|
||||
|
||||
linters-settings:
|
||||
goimports:
|
||||
|
|
Loading…
Reference in a new issue