From 65784f0debd447f801723cc52a0e5b1cbe921222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Android=20=E8=BD=AE=E5=AD=90=E5=93=A5?= Date: Fri, 24 Dec 2021 11:11:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20issue=20=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/FUNDING.yml | 12 ++++++ .github/ISSUE_TEMPLATE/issue_template_bug.md | 41 +++++++++++++++++++ .../ISSUE_TEMPLATE/issue_template_suggest.md | 13 ++++++ .github/workflows/android.yml | 17 ++++++++ 4 files changed, 83 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/ISSUE_TEMPLATE/issue_template_bug.md create mode 100644 .github/ISSUE_TEMPLATE/issue_template_suggest.md create mode 100644 .github/workflows/android.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..9466725 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: https://raw.githubusercontent.com/getActivity/Donate/master/picture/pay_ali.png diff --git a/.github/ISSUE_TEMPLATE/issue_template_bug.md b/.github/ISSUE_TEMPLATE/issue_template_bug.md new file mode 100644 index 0000000..99aabc3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue_template_bug.md @@ -0,0 +1,41 @@ +--- +name: 提交 Bug +about: 请告诉我框架存在的问题,我会协助你解决此问题! +labels: bug +assignees: getActivity + +--- + +## 问题描述 + +* 框架版本:XXX + +* 问题描述:XXX + +* 复现步骤:XXX + +* 是否必现:填是/否 + +* 手机信息:例如某米 9 / Android 10 + +## 请回答 + +* 是部分机型还是所有机型都会出现:部分/全部(例如:某为,某 Android 版本会出现) + +* 框架最新的版本是否存在这个问题:是/否(如果用的是旧版本的话,建议升级看问题是否还存在) + +* 是否已经查阅框架文档还未能解决的:是/否(文档会提供最常见的问题解答,可以看看是否有自己想要的) + +* issue 是否有人曾提过类似的问题:是/否(看看曾经有人提过类似的问题,先参考一下别人是怎么解决的) + +* 是否可以通过 Demo 来复现该问题:是/否(排查一下是不是自己的项目代码写得有问题导致的) + +* 使用原生的 Toast 是否也会出现该问题:是/否(排查一下是不是框架的代码存在问题导致的) + +## 其他 + +* 提供报错堆栈(如果有报错的话必填) + +* 提供截图或视频(根据需要提供,此项不强制) + +* 提供解决方案(如果已经解决了的话,此项不强制) \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/issue_template_suggest.md b/.github/ISSUE_TEMPLATE/issue_template_suggest.md new file mode 100644 index 0000000..15bba88 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue_template_suggest.md @@ -0,0 +1,13 @@ +--- +name: 提交建议 +about: 请告诉我框架的不足之处,让我做得更好! +labels: bug +assignees: getActivity + +--- + +## 建议收集 + +* 你觉得框架有什么不足之处?(必答项,你可以描述框架有什么令你不满意的地方) + +* 你觉得该怎么去完善会比较好?(非必答项,你可以提供一下自己的想法或者做法供作者参考) \ No newline at end of file diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 0000000..311fc1d --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,17 @@ +name: Android CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Build with Gradle + run: ./gradlew build aR