Because there isn't an checkstyle configure file of Ali way, So it is impossible to check code style in with GitHub Action. But I strongly suggest use IDE plugin to check your code locally .
------------------ ???????? ------------------ ??????: "Jave-Chen"<[email protected]>; ????????: 2020??2??8??(??????) ????9:05 ??????: "dev"<[email protected]>; ????: ?????? [CI][Code style] Need help with checking code style check by Ali way The file <https://github.com/zhnlk/ali-checkstyle-xml/blob/master/ali-checkstyle.xml&gt; is created at 2017, are u sure? ------------------&nbsp;????????&nbsp;------------------ ??????:&nbsp;"lidong dai"<[email protected]&gt;; ????????:&nbsp;2020??2??8??(??????) ????8:59 ??????:&nbsp;"dev"<[email protected]&gt;; ????:&nbsp;"wangyang.03"<[email protected]&gt;; ????:&nbsp;Re: [CI][Code style] Need help with checking code style check by Ali way hi , I see checkstyle.xml ( https://github.com/zhnlk/ali-checkstyle-xml/blob/master/ali-checkstyle.xml) from http://mail-archives.apache.org/mod_mbox/dolphinscheduler-dev/202001.mbox/%3Ctencent_6DF620A15E4A57C43A349736CBCD15454907%40qq.com%3E, is this checkstyle OK ? <https://github.com/zhnlk/ali-checkstyle-xml/blob/master/ali-checkstyle.xml&gt; Best Regards --------------- DolphinScheduler(Incubator) PPMC Lidong Dai ?????? [email protected] --------------- Jave-Chen <[email protected]&gt; ??2020??2??8?????? ????4:41?????? &gt; Hi, all &gt; As we discussed about checkstyle, we agreed use Ali code style. &gt; < &gt; http://mail-archives.apache.org/mod_mbox/dolphinscheduler-dev/202001.mbox/%3Ctencent_6DF620A15E4A57C43A349736CBCD15454907%40qq.com%3E&amp;gt &gt; ; &gt; &gt; &gt; I did some effects with this, and there are some problems now: &gt; 1. I did't find checkstyle config file for Ali code style, which means we &gt; need to&amp;nbsp; &gt; create these rules by ourselves. &gt; 2. Another possible way is to use PMD, but the PMD implementations has &gt; fewer&amp;nbsp; &gt; rules than IDEA plugin or Eclipse plugin.&amp;nbsp; &gt; For example indent check is not implemented by PMD, which I think &gt; is unacceptable. &gt; You can see The PDM implementations and rules&amp;nbsp; at &gt; <https://github.com/alibaba/p3c/tree/master/p3c-pmd&amp;gt; &gt; &gt; &gt; So, is there anyone can help solve these problems?? &gt; Or we have to reconsider Google code style.
