diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a0b611e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,40 @@ +name: CI/CD Pipeline + +on: + pull_request: + branches: + - main + types: + - opened + - synchronize + - reopened + push: + branches: + - main + +jobs: + build: + if: github.event_name == 'pull_request' + uses: ahincho/nova-devops/.github/workflows/reusable-build-maven.yml@main + secrets: inherit + + matrix: + if: github.event_name == 'pull_request' + uses: ahincho/nova-devops/.github/workflows/reusable-build-matrix.yml@main + with: + build-tool: maven + secrets: inherit + + owasp: + if: github.event_name == 'pull_request' + uses: ahincho/nova-devops/.github/workflows/reusable-owasp-check.yml@main + with: + build-tool: maven + secrets: inherit + + sbom: + if: github.event_name == 'pull_request' + uses: ahincho/nova-devops/.github/workflows/reusable-sbom.yml@main + with: + build-tool: maven + secrets: inherit diff --git a/pom.xml b/pom.xml index 53bb8e6..6279a57 100644 --- a/pom.xml +++ b/pom.xml @@ -19,14 +19,32 @@ ${java.version} UTF-8 - 0.1.0-SNAPSHOT - 0.1.0-SNAPSHOT + 1.0.0 + 1.0.1 3.14.0 3.5.3 4.0.5 + + + + nova-packages-read-bom + https://maven.pkg.github.com/ahincho/nova-bom + + + nova-packages-read-starter + https://maven.pkg.github.com/ahincho/nova-java-spring-boot-starter + + + @@ -93,7 +111,7 @@ github - https://maven.pkg.github.com/OWNER/nova-spring-boot-parent + https://maven.pkg.github.com/ahincho/nova-java-spring-boot-parent