diff --git a/.github/workflows/checkstyle.xml b/.github/linters/alibaba-checkstyle.xml similarity index 84% rename from .github/workflows/checkstyle.xml rename to .github/linters/alibaba-checkstyle.xml index 56a7b46..f5f7da1 100644 --- a/.github/workflows/checkstyle.xml +++ b/.github/linters/alibaba-checkstyle.xml @@ -13,17 +13,14 @@ + + + + + - - - - - - - - @@ -31,19 +28,12 @@ - - + - - - - - - @@ -78,10 +68,6 @@ - - - - @@ -139,15 +125,8 @@ - - - - - - - @@ -159,8 +138,6 @@ - - - + @@ -205,4 +182,4 @@ - + \ No newline at end of file diff --git a/.github/workflows/code-check.yaml b/.github/workflows/code-check.yaml index cc4bae7..6510d61 100644 --- a/.github/workflows/code-check.yaml +++ b/.github/workflows/code-check.yaml @@ -23,12 +23,15 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: - # super-linter needs the full git history to get the - # list of files that changed across commits fetch-depth: 0 - name: Super-linter uses: super-linter/super-linter@v6.3.1 env: GITHUB_TOKEN: ${{ secrets.MyGitHubToken }} - CHECKSTYLE_FILTER_PATH: ".github/workflows/checkstyle.xml" \ No newline at end of file + VALIDATE_ALL_CODEBASE: false + IGNORE_GITIGNORED_FILES: true + VALIDATE_JAVA: true + JAVA_FILE_NAME: alibaba-checkstyle.xml + DEFAULT_BRANCH: master + ACTIONS_RUNNER_DEBUG: true \ No newline at end of file