1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-04 23:30:25 +08:00

chore: make lint happy

This commit is contained in:
源文雨
2025-04-23 18:06:41 +09:00
parent 9f8f327c74
commit cdf62778d7
2 changed files with 4 additions and 3 deletions

View File

@@ -14,10 +14,10 @@ jobs:
uses: actions/checkout@master
- name: golangci-lint
uses: golangci/golangci-lint-action@master
uses: golangci/golangci-lint-action@v6
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest
version: v1.59.1
# Optional: working directory, useful for monorepos
# working-directory: somedir

View File

@@ -18,10 +18,11 @@ linters:
fast: false
enable:
- bodyclose
- copyloopvar
#- depguard
- dogsled
- errcheck
- exportloopref
#- exportloopref
- exhaustive
#- funlen
#- goconst