From 51bd4342a7b01d1414f630f9a946d731a0f12ebb Mon Sep 17 00:00:00 2001 From: yapsh1008 Date: Wed, 23 Apr 2025 10:40:03 +0800 Subject: [PATCH 1/2] Your commit message --- spring-petclinic | 1 + 1 file changed, 1 insertion(+) create mode 160000 spring-petclinic diff --git a/spring-petclinic b/spring-petclinic new file mode 160000 index 000000000..52e28e323 --- /dev/null +++ b/spring-petclinic @@ -0,0 +1 @@ +Subproject commit 52e28e32377e74594cdcca905876d63b572e09b0 From deb4e77afb28283de7e2092016a2f04ae5d3e962 Mon Sep 17 00:00:00 2001 From: yapsh1008 Date: Wed, 23 Apr 2025 10:48:32 +0800 Subject: [PATCH 2/2] Add CI pipeline with GitHub Actions --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..7e46c7dda --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: Java CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + - name: Build with Maven + run: mvn clean install