Skip to content

test(checkmodel): 添加跨类型模型检查测试 (#93) #11

test(checkmodel): 添加跨类型模型检查测试 (#93)

test(checkmodel): 添加跨类型模型检查测试 (#93) #11

Workflow file for this run

version: "2"

Check failure on line 1 in .github/workflows/.golangci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/.golangci.yml

Invalid workflow file

(Line: 1, Col: 1): Unexpected value 'version', (Line: 3, Col: 1): Unexpected value 'linters', (Line: 11, Col: 1): Unexpected value 'linters-settings', (Line: 15, Col: 1): Unexpected value 'run', (Line: 17, Col: 1): Unexpected value 'issues', (Line: 1, Col: 1): Required property is missing: jobs
linters:
default: none
enable:
- gocognit # 检查函数 Cognitive Complexity 复杂度
- gofmt
- errcheck
- staticcheck
linters-settings:
errcheck:
exclude-functions:
- (io.Closer).Close
run:
tests: false
issues:
exclude-dirs:
- '(^|/)test($|/)'