You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2023/04/28 08:46:41 UTC

[shardingsphere] branch master updated: Refactor : restore the checkstyle content (#25403)

This is an automated email from the ASF dual-hosted git repository.

zhaojinchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 67778c09f5b Refactor : restore the checkstyle content (#25403)
67778c09f5b is described below

commit 67778c09f5bc5a9daa5d009c9e3a29ed074648b0
Author: 孙念君 Nianjun Sun <su...@apache.org>
AuthorDate: Fri Apr 28 16:46:33 2023 +0800

    Refactor : restore the checkstyle content (#25403)
    
    Co-authored-by: shardingsphere <de...@shardingsphere.apache.org>
---
 .github/workflows/check-checkstyle.yml | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/check-checkstyle.yml b/.github/workflows/check-checkstyle.yml
index 3b035edbeb8..93f7c77110e 100644
--- a/.github/workflows/check-checkstyle.yml
+++ b/.github/workflows/check-checkstyle.yml
@@ -50,14 +50,25 @@ env:
   REPOSITORY_NAME: shardingsphere
 
 jobs:
-  empty:
-    name: Check - CheckStyle and License / Check - CheckStyle
+  check-checkstyle:
+    name: Check - CheckStyle
     runs-on: ubuntu-latest
+    timeout-minutes: 10
     steps:
-      - run: echo "block temporary"
-
-  empty2:
-    name: Check - CheckStyle and License / Check - License
+      - uses: actions/checkout@v3
+      - uses: actions/cache@v3
+        with:
+          path: ~/.m2/repository
+          key: ${{ env.REPOSITORY_NAME }}-maven-third-party-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            ${{ env.REPOSITORY_NAME }}-maven-third-party-
+      - name: Run CheckStyle
+        run: ./mvnw checkstyle:check -T1C
+  
+  check-license:
+    name: Check - License
+    timeout-minutes: 10
     runs-on: ubuntu-latest
     steps:
-      - run: echo "block temporary"
+      - uses: actions/checkout@v3
+      - uses: apache/skywalking-eyes@v0.4.0