mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 01:35:32 +08:00
chore: check+type
This commit is contained in:
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
@@ -28,8 +28,10 @@ jobs:
|
||||
- run: |
|
||||
pnpm run format
|
||||
pnpm run lint
|
||||
git status --porcelain
|
||||
git_status=$(git status --porcelain)
|
||||
if [ -n "$git_status" ]; then
|
||||
git --no-pager diff
|
||||
echo "提交代码风格不合规"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user