chore: Add Swagger documentation generation to build workflow
Some checks failed
Build / build (push) Failing after 55s
Build / build-docker (push) Has been skipped

- Included a step to generate Swagger documentation during the build process.
- This addition enhances API documentation and ensures it is up-to-date with the codebase.
This commit is contained in:
lafay
2026-01-10 04:57:56 +08:00
parent 6338592d27
commit 3b8d8bd7a7

View File

@@ -26,6 +26,9 @@ jobs:
- name: Download dependencies
run: go mod download
- name: Generate Swagger docs
run: swag init -g cmd/server/main.go -o docs
- name: Build
env:
GOOS: linux