diff --git a/.github/workflows/on-pr-workflows.yml b/.github/workflows/on-pr-workflows.yml new file mode 100644 index 0000000..46b37a0 --- /dev/null +++ b/.github/workflows/on-pr-workflows.yml @@ -0,0 +1,14 @@ +name: Main and Develop PR Handlers + +on: + pull_request: + types: [opened, synchronize, reopened] + branches: + - main + - develop + +jobs: + call-java-code-quality-workflow: + uses: zerodaycode/app-summoners-sync/.github/workflows/unified-code-quality.yml@feature/new-github-actions + call-changelog-workflow: + uses: zerodaycode/app-summoners-sync/.github/workflows/pr-changelog-preview.yml@feature/new-github-actions \ No newline at end of file diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml new file mode 100644 index 0000000..d462c7b --- /dev/null +++ b/.github/workflows/on-release.yml @@ -0,0 +1,10 @@ +name: Release workflow + +on: + push: + branches: + - main + +jobs: + call-release-workflow: + uses: zerodaycode/app-summoners-sync/.github/workflows/release-workflow.yml@feature/new-github-actions diff --git a/checkstyle.xml b/checkstyle.xml new file mode 100644 index 0000000..a8155b9 --- /dev/null +++ b/checkstyle.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pmd.xml b/pmd.xml new file mode 100644 index 0000000..a8fa448 --- /dev/null +++ b/pmd.xml @@ -0,0 +1,22 @@ + + + + Custom ruleset for static code analysis using PMD 7.x. + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index f676728..a93b20b 100644 --- a/pom.xml +++ b/pom.xml @@ -116,6 +116,7 @@ + @@ -142,6 +143,57 @@ + + + io.spring.javaformat + spring-javaformat-maven-plugin + 0.0.36 + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.2.2 + + checkstyle.xml + + + + + com.github.spotbugs + spotbugs-maven-plugin + 4.7.3.1 + + + org.apache.maven.plugins + maven-pmd-plugin + 3.18.0 + + + org.owasp + dependency-check-maven + 9.0.10 + + + org.jacoco + jacoco-maven-plugin + 0.8.12 + + + + BUNDLE + + + LINE + COVEREDRATIO + 0.10 + + + + + + +