kyuubi/.github/workflows
Fu Chen 6cd2ad9ef7
[KYUUBI #2780] Refine stylecheck
### _Why are the changes needed?_

1. reformat code should include all of the modules in the project.
2. stylecheck should include all of the modules in the project.
3. there is a bug in the stage `Upload style check report`.

Since the `grep` returns code 1 when the pattern is not found, the upload report does not work before this pr.

```
> echo "a" > /tmp/a; grep abc /tmp/a; echo $?
1
```

Before this PR
```
Run for log in `find * -name "scalastyle-output.xml"`;  do echo "=========$log========="; grep "error" $log; done
=========dev/kyuubi-tpcds/target/scalastyle-output.xml=========
Error: Process completed with exit code 1.
```

After this PR
```
Run for log in `find * -name "scalastyle-output.xml"`;
<?xml version="1.0" encoding="UTF-8"?>
<checkstyle version="5.0">
 <file name="/home/runner/work/incubator-kyuubi/incubator-kyuubi/extensions/spark/kyuubi-extension-spark-3-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala">
  <error column="0" line="21" source="org.scalastyle.scalariform.ImportOrderChecker" severity="error" message="There should at least one a single empty line separating groups 3rdParty and kyuubi."/>
 </file>
</checkstyle>
```

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #2780 from cfmcgrady/refine-stylecheck.

Closes #2780

a9c4a71e [Fu Chen] update reformat
f5d4d4e4 [Fu Chen] address comment
0665e7e5 [Fu Chen] address
91d123ee [Fu Chen] fix
f5d6414f [Fu Chen] style.yml
c56fa081 [Fu Chen] dev/reformat

Authored-by: Fu Chen <cfmcgrady@gmail.com>
Signed-off-by: ulysses-you <ulyssesyou@apache.org>
2022-06-01 16:49:01 +08:00
..
dep.yml [KYUUBI #2218] Fix maven options about hive-provided 2022-03-28 10:10:41 +08:00
docker-image.yml [KYUUBI #1947] Revamp Github Action settings for CI 2022-02-22 13:39:54 +08:00
greetings.yml [KYUUBI #1947] Revamp Github Action settings for CI 2022-02-22 13:39:54 +08:00
labeler.yml [KYUUBI #2085] Add a labeler github action to triage PRs 2022-03-14 16:58:40 +08:00
license.yml [KYUUBI #2329] [KYUUBI#2214][FOLLOWUP] Cleanup kubernetes-deployment-it 2022-04-12 21:55:13 +08:00
master.yml [KYUUBI #2754] [GA] Separate log archive name 2022-05-26 21:52:41 +08:00
nightly.yml [KYUUBI #2175] Improve CI with cancel & concurrency & paths filter 2022-03-19 21:06:08 +08:00
publish-snapshot.yml [KYUUBI #2218] Fix maven options about hive-provided 2022-03-28 10:10:41 +08:00
style.yml [KYUUBI #2780] Refine stylecheck 2022-06-01 16:49:01 +08:00