You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2022/11/02 01:38:56 UTC

[incubator-streampark] branch dev updated: [Feature] Add codestyle check (#1945)

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

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new 1c40fda7a [Feature] Add codestyle check (#1945)
1c40fda7a is described below

commit 1c40fda7afd2d525f74f6cf298b24d744a4762da
Author: ChunFu Wu <31...@qq.com>
AuthorDate: Wed Nov 2 09:38:48 2022 +0800

    [Feature] Add codestyle check (#1945)
---
 .github/workflows/maven.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 952a90d20..a6025849b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -45,6 +45,17 @@ jobs:
           submodules: true
       - name: Check license header
         uses: apache/skywalking-eyes/header@main
+  code-style:
+    if: github.repository == 'apache/incubator-streampark'
+    name: Code style
+    runs-on: ubuntu-latest
+    timeout-minutes: 10
+    steps:
+      - uses: actions/checkout@v3
+        with:
+          submodules: true
+      - name: Check java codestyle
+        run: ./mvnw -B -q -nsu clean checkstyle:check
   dead-link:
     if: github.repository == 'apache/incubator-streampark'
     name: Dead links