From 6535cf4e697e31399788f15a0749f001e4444ede Mon Sep 17 00:00:00 2001 From: Falcion <57592842+Falcion@users.noreply.github.com> Date: Mon, 25 Jan 2021 20:13:59 +0300 Subject: [PATCH] Added GitHub workflow and template --- .github/ISSUE_TEMPLATE/bug_report.md | 28 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/crash_report.md | 27 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 17 ++++++++++++++ .github/ISSUE_TEMPLATE/question.md | 14 ++++++++++++ .github/workflows/gradle.yml | 26 +++++++++++++++++++++ 5 files changed, 112 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/crash_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/question.md create mode 100644 .github/workflows/gradle.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..258a82d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,28 @@ +--- +name: Bug report +about: Create a report about bug to help us improve. +title: '' +labels: 'bug' +assignees: Falcion + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. '...' + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/crash_report.md b/.github/ISSUE_TEMPLATE/crash_report.md new file mode 100644 index 0000000..0288ce9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/crash_report.md @@ -0,0 +1,27 @@ +--- +name: Crash report +about: Create a report about crash to help us improve. +title: 'CRASH: Type your crash report title here.' +labels: 'high priority, crash' +assignees: Falcion + +--- + +**Describe the crash** +A clear and concise description of what the crash is. + +**Link to client log:** +Even of there is a crash log, the client log can provide the necessary context for why the exception occurred. You can use a service like [Pastebin](https://pastebin.com) or [Hastebin](https://hastebin.com) to upload the log, and paste the link here. The log file is called `latest.txt` and can be found in your logs folder. + +**Link to crash log:** +The call-stacks in the log will help pinpoint the actors involved in the crash and give a developer a pointer where to start looking at the problem. You can use a service like [Pastebin](https://pastebin.com) or [Hastebin](https://hastebin.com) to upload the log, and paste the link here. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..3d6603f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,17 @@ +--- +name: Feature request +about: Suggest an idea for this project. +title: 'FEATURE: Type your feature request title here.' +labels: 'feature request' +assignees: Falcion + +--- + +**Describe and idea:** +Describe your idea here. + +**Describe the solution you'd like:** +A clear and concise description of what you want to happen. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 0000000..5e19ab8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,14 @@ +--- +name: Question +about: Ask a question about this project. +title: 'QUESTION: Type your question title here.' +labels: 'question' +assignees: Falcion + +--- + +**Describe a question:** +Describe your question here. + +**Additional context** +Add any other context or screenshots about the question here. diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 0000000..f1538d0 --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,26 @@ +# This workflow will build a Java project with Gradle +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle + +name: Java CI with Gradle + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +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: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build