Skip to content

ci: 编译 example 模块并对齐 Taskfile #46

Description

@kooksee

问题

根模块 go test ./...(即便有 go.work)不会类型检查独立的 example 模块,CI(.github/workflows/lint.yml)同样漏掉。本地 13 个 example 目前可编译,但回归可能静默合入。

其它不一致:

  • Taskfile 覆盖率无 -race,CI race 无覆盖率
  • lint timeout:Task 10m vs CI 3m
  • coverage.html 未 gitignore

建议

  • CI 增加 go build/go test 针对 example 模块
  • 对齐 race/cover/lint;gitignore coverage.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions