From 3770190e2c15b11b4afac4d2f36d69f7eb0ffa31 Mon Sep 17 00:00:00 2001 From: NightFish <101402767+dmzz-yyhyy@users.noreply.github.com> Date: Sun, 24 Nov 2024 02:14:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4StyleCheck=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/style_check.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/style_check.yml diff --git a/.github/workflows/style_check.yml b/.github/workflows/style_check.yml deleted file mode 100644 index 5c4272e..0000000 --- a/.github/workflows/style_check.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Style Check in CI -on: - pull_request: - branches: [master, refactoring] - paths: - - app/src/** - - build.gradle.kts - - gradle.properties - - settings.gradle - -jobs: - checkstyle: - runs-on: ubuntu-latest - steps: - - name: checkout - uses: actions/checkout@v3.1.0 - - name: Setup Java 17 - uses: actions/setup-java@v3.6.0 - with: - distribution: zulu - java-version: 17 - - uses: reviewdog/action-setup@v1 - with: - reviewdog_version: latest - - name: download checkstyle - run: curl -o checkstyle.jar -L https://github.com/checkstyle/checkstyle/releases/download/checkstyle-10.15.0/checkstyle-10.15.0-all.jar - - name: checkstyle - env: - REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: java -jar checkstyle.jar -c style.xml -f xml app/src | reviewdog -f=checkstyle -name="Checkstyle" -reporter=github-check -level=warning