From 6c4141e06cbae52ac48c7b2fc4e3e53eb55ce9e1 Mon Sep 17 00:00:00 2001 From: Arijan Nikoci Date: Tue, 9 Nov 2021 06:02:18 +0100 Subject: [PATCH 1/6] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 38 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..dd84ea7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**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] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - 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..bbcbbe7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. From cdc8c27104b1010ecd265d8b78d778fe53fa7ea6 Mon Sep 17 00:00:00 2001 From: Arijan Nikoci Date: Tue, 9 Nov 2021 06:05:37 +0100 Subject: [PATCH 2/6] Updating CI/CD --- .github/workflows/maven.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1be4449..9ce242e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -6,8 +6,6 @@ name: Java CI with Maven on: push: branches: [ main ] - pull_request: - branches: [ main ] jobs: build: @@ -21,4 +19,4 @@ jobs: with: java-version: 17 - run: mvn -B package --file pom.xml - - run: pm2 restart github:RoboFlask \ No newline at end of file + - run: pm2 restart github:RoboFlask From b3f493d00b248e7922e94a568774b5e432d64994 Mon Sep 17 00:00:00 2001 From: Arijan Nikoci Date: Tue, 9 Nov 2021 06:07:31 +0100 Subject: [PATCH 3/6] Create maven-debug.yml --- .github/workflows/maven-debug.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/maven-debug.yml diff --git a/.github/workflows/maven-debug.yml b/.github/workflows/maven-debug.yml new file mode 100644 index 0000000..a2a664c --- /dev/null +++ b/.github/workflows/maven-debug.yml @@ -0,0 +1,26 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven + +name: Validity (Maven) + +on: + push: + branches: [ "*" ] + pull_request: + branches: [ "*" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml From 3efd4bd8c846a4036caf08024298a41c4b159525 Mon Sep 17 00:00:00 2001 From: Arijan Nikoci Date: Tue, 9 Nov 2021 06:08:23 +0100 Subject: [PATCH 4/6] Update and rename maven.yml to maven-deploy.yml --- .github/workflows/{maven.yml => maven-deploy.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{maven.yml => maven-deploy.yml} (95%) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven-deploy.yml similarity index 95% rename from .github/workflows/maven.yml rename to .github/workflows/maven-deploy.yml index 9ce242e..3f8717b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven-deploy.yml @@ -1,7 +1,7 @@ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven -name: Java CI with Maven +name: Deploy (Maven) on: push: From 970096afb429a6ddb564305a69e210f7b38b9a74 Mon Sep 17 00:00:00 2001 From: Arijan Nikoci Date: Tue, 9 Nov 2021 06:08:44 +0100 Subject: [PATCH 5/6] Rename maven-debug.yml to maven-validate.yml --- .github/workflows/{maven-debug.yml => maven-validate.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{maven-debug.yml => maven-validate.yml} (100%) diff --git a/.github/workflows/maven-debug.yml b/.github/workflows/maven-validate.yml similarity index 100% rename from .github/workflows/maven-debug.yml rename to .github/workflows/maven-validate.yml From c0e6ac08e88c6051696e4efc901be1f9802c3877 Mon Sep 17 00:00:00 2001 From: Arijan Nikoci Date: Tue, 9 Nov 2021 06:18:19 +0100 Subject: [PATCH 6/6] Update maven-validate.yml --- .github/workflows/maven-validate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-validate.yml b/.github/workflows/maven-validate.yml index a2a664c..6a52f04 100644 --- a/.github/workflows/maven-validate.yml +++ b/.github/workflows/maven-validate.yml @@ -16,10 +16,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v2 with: - java-version: '11' + java-version: '17' distribution: 'adopt' cache: maven - name: Build with Maven