wangdefa
2511c2e041
ci: 添加 Gitea Actions 的 CI 与发布流程,移除 .github/workflows
- ci.yml:push main 时起 postgres:16 服务容器,应用 schema.sql 并补建 llm_usage,
跑 go mod verify / go vet / go test -p 1 ./...;不接 PR 触发。
-skip 掉当前已失败的 TestGraphOverviewExpandsAssociatedCompanyScope。
- release.yml:v* tag 触发,只构建 linux/amd64 与 linux/arm64,从 CHANGELOG
提取说明,用 gitea-release-action 建 Release 上传 zip 与 SHA256SUMS,
再用 buildx 推多架构镜像到 gitea.bcde.io/wangdefa/artex。
- .dockerignore:排除 dist 下的 zip 与中间产物,只放 dist/<arch>/artex 进构建上下文。
- 删除 .github/workflows:本仓库 CI/CD 全部走 .gitea/workflows。留着的副本会被
Gitea 一并扫描,同一个 tag 触发两套发布流程、重复建 Release。