Revert "feat: 增加go mod tidy测试"

This commit is contained in:
Yoko
2025-09-05 17:05:56 +08:00
committed by GitHub
parent c02be78b65
commit 00cca74da5
3 changed files with 5 additions and 36 deletions

View File

@@ -45,18 +45,6 @@ jobs:
- name: Download dependencies
run: go mod download
- name: Check go.mod formatting
working-directory: backend
run: |
if ! go mod tidy --diff ; then
echo "::error::go.mod or go.sum is not properly formatted. Please run 'go mod tidy' locally and commit the changes."
exit 1
fi
if ! go mod verify ; then
echo "::error::go.mod or go.sum has unverified dependencies. Please run 'go mod verify' locally and commit the changes."
exit 1
fi
- name: Generate Swagger.json
run: |
touch docs/swagger.json