ci: переезд на Task + GoReleaser + Release Please
- Taskfile.yml: build/test/lint/fmt/vuln/ci/tools, единая точка входа
- .goreleaser.yaml: 13 целевых платформ + Android .so + GHCR multi-arch образы
- release-please: автогенерация PR с CHANGELOG и тегов из conventional commits
- Dockerfile.goreleaser: тонкий alpine-runtime, бинарь подкладывает GoReleaser
(старый multistage Dockerfile удалён)
- ci.yml: разнесён на lint/test/vuln/build-snapshot, версии actions запинены,
добавлены concurrency и env-блок
- release.yml: 345 строк matrix-сборок сведены к запуску goreleaser на tag push
- golangci-lint v1.65.0 (несуществующая) → v2.12.2; путь /v2/cmd/, action
v6.1.1 → v9.2.1
- cmd/{client,server}: var version для -ldflags -X main.version, лог версии
при старте
- удалены: .github/workflows/issues.yml, docs/build.md (устарела после Task)
This commit is contained in:
1 parent
8b2e028f99
commit
3ee9087323
16 files changed
+546
-577
No files matched your search
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
||||
"packages": {
|
||||
".": {
|
||||
"release-type": "go",
|
||||
"package-name": "btp",
|
||||
"include-component-in-tag": false,
|
||||
"include-v-in-tag": true,
|
||||
"bump-minor-pre-major": true,
|
||||
"bump-patch-for-minor-pre-major": false,
|
||||
"draft": false,
|
||||
"prerelease": false,
|
||||
"changelog-path": "CHANGELOG.md",
|
||||
"changelog-sections": [
|
||||
{ "type": "feat", "section": "Features" },
|
||||
{ "type": "fix", "section": "Bug Fixes" },
|
||||
{ "type": "perf", "section": "Performance" },
|
||||
{ "type": "refactor", "section": "Refactoring" },
|
||||
{ "type": "break", "section": "Breaking Changes" },
|
||||
{ "type": "docs", "section": "Documentation", "hidden": true },
|
||||
{ "type": "chore", "section": "Chores", "hidden": true },
|
||||
{ "type": "test", "section": "Tests", "hidden": true },
|
||||
{ "type": "ci", "section": "CI", "hidden": true },
|
||||
{ "type": "style", "section": "Style", "hidden": true }
|
||||
]
|
||||
}
|
||||
},
|
||||
"release-search-depth": 50,
|
||||
"commit-search-depth": 500,
|
||||
"separate-pull-requests": false,
|
||||
"plugins": []
|
||||
}
|
||||
Reference in new issue
Block a user