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 项目