返回 Skill 列表
extension
分类: 开发与工程无需 API Key

ci-images

与该仓库的GitHub Actions CI和GHCR Docker镜像发布工作流一起工作。在更改生成检查、测试、格式化,或准备发布并验证镜像标签时使用。

person作者: jakexiaohubgithub

Tooling assumptions

  • Use a terminal runner with bash and git available.
  • Prefer make targets when available; fall back to direct CLI commands when needed.

CI overview (local equivalents)

The CI workflow enforces:

  • generated code is up to date (templ + sqlc)
  • gofmt formatting
  • go vet
  • go test

Local one-liners:

make generate
make fmt
make vet
make test

Docker image publishing

Workflow: .github/workflows/docker-publish.yml

  • Runs on GitHub Release publish (and manually via workflow_dispatch)
  • Publishes to GHCR with tags:
    • semver vX.Y.Z
    • X.Y, X
    • latest on release

Suggested pre-release checklist

make test
make validate-openapi

If you changed SQL/templ, ensure make generate output is committed.