chore: Remove Swagger documentation generation from build workflow
- Eliminated the Swagger documentation generation step from the build process. - Updated the main server file to remove the Swagger documentation import, streamlining the codebase.
This commit is contained in:
@@ -26,8 +26,6 @@ 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:
|
||||
|
||||
@@ -32,8 +32,6 @@ import (
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"go.uber.org/zap"
|
||||
|
||||
_ "carrotskin/docs"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user