From 4b2e96d006eeddc8cef7c8352b12c7ac35cda6e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=9D=B8=ED=99=94?= Date: Thu, 20 Nov 2025 09:08:33 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20CI=20=EC=9B=8C=ED=81=AC=ED=94=8C?= =?UTF-8?q?=EB=A1=9C=EC=9A=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/integration-dev.yml | 37 +++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/integration-dev.yml diff --git a/.github/workflows/integration-dev.yml b/.github/workflows/integration-dev.yml new file mode 100644 index 0000000..a7cc8d4 --- /dev/null +++ b/.github/workflows/integration-dev.yml @@ -0,0 +1,37 @@ +name: Spring Boot CI + +on: + pull_request: + branches: + - develop + - main + +permissions: + pull-requests: write + checks: write + +jobs: + build: + runs-on: ubuntu-latest + + steps: + # 1. 코드 체크아웃 + - name: Checkout code + uses: actions/checkout@v3 + + # 2. JDK 설정 + - name: Set up JDK 21 + uses: actions/setup-java@v3 + with: + java-version: '21' + distribution: 'temurin' + + # 3. Gradle 설정 + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + with: + cache-read-only: false + + # 4. 빌드 (테스트 제외) + - name: Build with Gradle + run: ./gradlew build -x test --build-cache From 191726647d298845b54a90435363a532ad0dc73d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=9D=B8=ED=99=94?= Date: Thu, 20 Nov 2025 09:15:00 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20gradlew=20=EC=8B=A4=ED=96=89=20?= =?UTF-8?q?=EA=B6=8C=ED=95=9C=20=EB=B6=80=EC=97=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/integration-dev.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-dev.yml b/.github/workflows/integration-dev.yml index a7cc8d4..f0687c5 100644 --- a/.github/workflows/integration-dev.yml +++ b/.github/workflows/integration-dev.yml @@ -26,12 +26,16 @@ jobs: java-version: '21' distribution: 'temurin' - # 3. Gradle 설정 + # 3. Gradle 실행 권한 부여 + - name: Grant execute permission for gradlew + run: chmod +x gradlew + + # 4. Gradle 설정 - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 with: cache-read-only: false - # 4. 빌드 (테스트 제외) + # 5. 빌드 (테스트 제외) - name: Build with Gradle run: ./gradlew build -x test --build-cache