From 287aea429200219b4698689fc447c67f23654e01 Mon Sep 17 00:00:00 2001 From: lu-yg <128358973+lu-yg@users.noreply.github.com> Date: Sun, 26 Jan 2025 18:21:32 +0800 Subject: [PATCH] fix: Update checkstyle.yml --- .github/workflows/checkstyle.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml index e1e7ad25..ab7c3555 100644 --- a/.github/workflows/checkstyle.yml +++ b/.github/workflows/checkstyle.yml @@ -22,6 +22,7 @@ jobs: uses: actions/setup-java@v4 with: java-version: '8.*' + distribution: temurin # 安装 Checkstyle(如果你是用 Maven 或 Gradle) - name: Install dependencies @@ -42,4 +43,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: checkstyle-report - path: target/checkstyle-result.xml # 如果是 Maven 项目 \ No newline at end of file + path: target/checkstyle-result.xml # 如果是 Maven 项目