This commit is contained in:
@@ -40,18 +40,7 @@ jobs:
|
||||
- name: ✅ Run Tests
|
||||
run: cargo test --verbose
|
||||
|
||||
# 7. 检查代码格式
|
||||
- name: 📏 Check Format
|
||||
run: cargo fmt -- --check
|
||||
|
||||
# 8. 运行 Clippy 静态分析
|
||||
- name: 🔍 Clippy Check
|
||||
run: cargo clippy -- -D warnings
|
||||
|
||||
# 9. 生成文档
|
||||
- name: 📚 Build Documentation
|
||||
run: cargo doc --no-deps
|
||||
|
||||
# 10. 清理构建缓存(可选)
|
||||
# 7. 清理构建缓存
|
||||
- name: 🧹 Cleanup
|
||||
run: cargo clean
|
||||
Reference in New Issue
Block a user