diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index d2c8d1c..35e1ae3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -7,17 +7,17 @@ assignees: '' --- -**Versions Used** +**Versions Used** -**Description** +**Description** -**How to reproduce** +**How to reproduce** -**Possible Solution** +**Possible Solution** -**Additional context** +**Additional context** diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f5a5d08..6166e64 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,32 +1,26 @@ ## Description - ## Related Issue - ## Motivation and Context - ## How Has This Been Tested? - ## Documentation: - ## Checklist: - - [ ] I have updated the documentation accordingly. - [ ] I have assigned the correct milestone or created one if non-existent. - [ ] I have correctly labeled this pull request. diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..f98a515 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,37 @@ +name: Continuous Integration +on: push + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: 11 + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + + - name: Build with Gradle + run: ./gradlew build -PignoreCheckFailures=true -PgithubUsername=${{ github.actor }} -PgithubPassword=${{ secrets.GITHUB_TOKEN }} + + - name: Checkstyle + uses: jwgmeligmeyling/checkstyle-github-action@v1.2 + with: + path: ./build/reports/checkstyle/*.xml + + - name: Test Report + uses: scacap/action-surefire-report@v1.0.9 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + report_paths: ./**/build/test-results/test/*.xml + + - name: Archive build output + uses: actions/upload-artifact@v2 + with: + name: gradle-build + path: ./**/build/ diff --git a/.github/workflows/inspect.yml b/.github/workflows/inspect.yml new file mode 100644 index 0000000..741ea35 --- /dev/null +++ b/.github/workflows/inspect.yml @@ -0,0 +1,25 @@ +name: Intellij +on: push + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Run Intellij + uses: mridang/action-idea@2020.3.3 + with: + target: /github/workspace + profile: /github/workspace/.idea/inspectionProfiles/CI.xml + output: output + verbosity: v2 + scope: Inspection + + - name: Archive inspection results + if: ${{ failure() }} + uses: actions/upload-artifact@v1 + with: + name: inspection-results + path: output diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml deleted file mode 100644 index 92952ef..0000000 --- a/.github/workflows/qodana.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Qodana -on: push - -jobs: - inspect: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: 'Qodana Scan' - uses: JetBrains/qodana-action@v5.0.2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml deleted file mode 100644 index 170049c..0000000 --- a/.github/workflows/tests.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Tests -on: push - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Set up JDK - uses: actions/setup-java@v3 - with: - java-version: 17 - distribution: temurin - - - name: Setup and execute Gradle 'test' task - uses: gradle/gradle-build-action@v2 - with: - arguments: build -PignoreCheckFailures=true -PgithubUsername=${{ github.actor }} -PgithubPassword=${{ secrets.GITHUB_TOKEN }} - - - name: Archive build output - uses: actions/upload-artifact@v2 - if: always() - with: - name: test-results - path: build/reports/tests/ - retention-days: 3 diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 4d74049..af11d46 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -5,45 +5,44 @@ - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + + + - + - - - - - - - + - + + diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 908786e..7c6a09e 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,16 +4,14 @@ \ No newline at end of file diff --git a/.idea/scala_compiler.xml b/.idea/scala_compiler.xml new file mode 100644 index 0000000..3c0e0f6 --- /dev/null +++ b/.idea/scala_compiler.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 82b0fe0..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -