test: add step to generate Swagger documentation in CI pipeline

Signed-off-by: Noooste <83548733+Noooste@users.noreply.github.com>
This commit is contained in:
Noooste
2026-04-19 15:49:20 +02:00
parent 646813b977
commit 005211f073
+5
View File
@@ -25,6 +25,11 @@ jobs:
cache: true
cache-dependency-path: backend/go.sum
- name: Generate swagger docs
run: |
go install github.com/swaggo/swag/cmd/swag@latest
cd backend && swag init
- name: Run unit tests with race detector and coverage
run: |
cd backend