Skip to content

Commit 024bd39

Browse files
committed
fix:Checkstyle check test
1 parent 3ceae07 commit 024bd39

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/checkstyle.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,13 @@ jobs:
4949
echo "=== 查找 checkstyle 文件 ==="
5050
find . -name "checkstyle*.xml" -o -name "checkstyle*.html" | while read f; do echo "找到: $f"; done
5151
52-
- name: Debug Checkstyle config
52+
- name: Debug - Check HTML existence
5353
run: |
54-
cd base
55-
mvn checkstyle:check -X | grep -A 10 "Loading checkstyle"
54+
echo "Searching for checkstyle.html:"
55+
find . -name "checkstyle.html" -type f
56+
echo "Also check site directory:"
57+
ls -la base/target/site/ || echo "base/target/site not found"
58+
5659
# 如果检查失败,仍然上传报告供查看
5760
- name: Upload Checkstyle report
5861
if: always() # 即使失败也上传报告

0 commit comments

Comments
 (0)