From 5159d932961895411145c70047762387a80eade8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=82=E6=A2=A6=E6=8A=80=E6=9C=AF?= <596392912@qq.com> Date: Sat, 9 Mar 2024 16:20:29 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E4=BD=BF=E7=94=A8=20flatten-maven?= =?UTF-8?q?-plugin=20=E4=BC=98=E5=8C=96=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE | 13 +++++++++++++ .github/PULL_REQUEST_TEMPLATE | 16 ++++++++++++++++ .github/workflows/test-and-build.yml | 17 +++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE create mode 100644 .github/PULL_REQUEST_TEMPLATE create mode 100644 .github/workflows/test-and-build.yml diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE new file mode 100644 index 0000000..691ce34 --- /dev/null +++ b/.github/ISSUE_TEMPLATE @@ -0,0 +1,13 @@ +**注意:github 上的少,可能响应不够及时,建议 gitee 上发起** + +Please answer some questions before submitting your issue. Thanks! + +### Which version do you using(使用的哪个版本)? + +### Expected behavior(预期的效果) + +### Actual behavior(实际的效果) + +### Steps to reproduce the behavior(重现步骤) + +### Other information(其他信息) diff --git a/.github/PULL_REQUEST_TEMPLATE b/.github/PULL_REQUEST_TEMPLATE new file mode 100644 index 0000000..6b664de --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE @@ -0,0 +1,16 @@ +**注意:github 上的少,可能响应不够及时,建议 gitee 上发起** + +**What kind of change does this PR introduce?** (check at least one) + +- [ ] Bugfix(bug修复) +- [ ] Feature(新功能) +- [ ] Code style update(代码格式调整) +- [ ] Refactor(重构) +- [ ] Build-related changes(与构建相关的更改) +- [ ] Other, please describe(其他,请说明): + + +**The description of the PR(PR描述):** + + +**Other information(其他信息):** diff --git a/.github/workflows/test-and-build.yml b/.github/workflows/test-and-build.yml new file mode 100644 index 0000000..c2d1312 --- /dev/null +++ b/.github/workflows/test-and-build.yml @@ -0,0 +1,17 @@ +name: Java CI +on: [push, pull_request] + +jobs: + buildOnJava8: + name: build on java8 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 8 + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + cache: 'maven' + java-version: 8 + - name: Build with Maven + run: mvn package