From 06f16a7fba77fc0c0dfe30c29754579a08bcc55d Mon Sep 17 00:00:00 2001 From: sunghyun <101376904+sunghyun0610@users.noreply.github.com> Date: Tue, 7 Jan 2025 00:57:06 +0900 Subject: [PATCH 01/10] =?UTF-8?q?feat=20:=20=20main,=20dev=20PR=EC=8B=9C?= =?UTF-8?q?=20CI=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-pr.yml | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/ci-pr.yml diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml new file mode 100644 index 00000000..7d600e8a --- /dev/null +++ b/.github/workflows/ci-pr.yml @@ -0,0 +1,38 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle + +name: CI Pipeline + +on: + pull_request: + branches: [ "main" ,"dev"] + +jobs: + build: + + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + + - name : Check out code + uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + + # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies. + # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md + - name: Setup Gradle + uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 + + - name: Clean Build with Gradle Wrapper + run: ./gradlew clean build --no-daemon --info + From 37d6f951ca39386c7bac09caad641385e8544cbc Mon Sep 17 00:00:00 2001 From: sunghyun <101376904+sunghyun0610@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:05:37 +0900 Subject: [PATCH 02/10] =?UTF-8?q?chore=20:=20gradlew=20=EC=8B=A4=ED=96=89?= =?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/ci-pr.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 7d600e8a..4631412f 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -32,6 +32,9 @@ jobs: # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md - name: Setup Gradle uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 + + - name: Ensure Gradlew is Executable + run: chmod +x ./gradlew # gradlew에 실행 권한 부여 - name: Clean Build with Gradle Wrapper run: ./gradlew clean build --no-daemon --info From 06bec655f95fe6fc114d44bc8461855fc6b56806 Mon Sep 17 00:00:00 2001 From: sunghyun <101376904+sunghyun0610@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:10:55 +0900 Subject: [PATCH 03/10] Update ci-pr.yml --- .github/workflows/ci-pr.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 4631412f..7c208228 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -22,19 +22,29 @@ jobs: - name : Check out code uses: actions/checkout@v4 + + - name: List project files + run: ls -l # 디렉토리 구조 확인 + + - name: Print working directory + run: pwd # 현재 작업 디렉토리 확인 + + - name: Ensure Gradlew is Executable + run: chmod +x ./gradlew # gradlew에 실행 권한 부여 + + - name: Set up JDK 17 uses: actions/setup-java@v4 with: java-version: '17' distribution: 'temurin' + # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies. # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md - name: Setup Gradle uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 - - name: Ensure Gradlew is Executable - run: chmod +x ./gradlew # gradlew에 실행 권한 부여 - name: Clean Build with Gradle Wrapper run: ./gradlew clean build --no-daemon --info From 8cef57a4dc74347acf1f2ef86279e430f694d267 Mon Sep 17 00:00:00 2001 From: sunghyun <101376904+sunghyun0610@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:16:08 +0900 Subject: [PATCH 04/10] fix : ci --- .github/workflows/ci-pr.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 7c208228..257bbe6e 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -26,9 +26,6 @@ jobs: - name: List project files run: ls -l # 디렉토리 구조 확인 - - name: Print working directory - run: pwd # 현재 작업 디렉토리 확인 - - name: Ensure Gradlew is Executable run: chmod +x ./gradlew # gradlew에 실행 권한 부여 From 605452dc1c66217a576fee45f0b4d3be61efc067 Mon Sep 17 00:00:00 2001 From: sunghyun <101376904+sunghyun0610@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:25:58 +0900 Subject: [PATCH 05/10] Update ci-pr.yml --- .github/workflows/ci-pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 257bbe6e..2193ebdb 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -22,6 +22,8 @@ jobs: - name : Check out code uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: List project files run: ls -l # 디렉토리 구조 확인 From eeaeec65cbc4dbceafb438ffd6873850e86833c6 Mon Sep 17 00:00:00 2001 From: sunghyun <101376904+sunghyun0610@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:29:47 +0900 Subject: [PATCH 06/10] =?UTF-8?q?fix=20:=20gradlew=EA=B2=BD=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 2193ebdb..f65c72a8 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -29,7 +29,7 @@ jobs: run: ls -l # 디렉토리 구조 확인 - name: Ensure Gradlew is Executable - run: chmod +x ./gradlew # gradlew에 실행 권한 부여 + run: chmod +x ./meerket/gradlew # gradlew에 실행 권한 부여 - name: Set up JDK 17 From a9dce877c450ef008698a997794a1767aa6ac438 Mon Sep 17 00:00:00 2001 From: sunghyun <101376904+sunghyun0610@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:31:17 +0900 Subject: [PATCH 07/10] =?UTF-8?q?fix=20:=20gradlew=20=EC=9C=84=EC=B9=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=ED=95=B4=EC=A3=BC=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index f65c72a8..78bd84fa 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -46,5 +46,5 @@ jobs: - name: Clean Build with Gradle Wrapper - run: ./gradlew clean build --no-daemon --info + run: ./meerket/gradlew clean build --no-daemon --info From 240008b88e018d6106a01d82015e2336f257505e Mon Sep 17 00:00:00 2001 From: sunghyun <101376904+sunghyun0610@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:35:04 +0900 Subject: [PATCH 08/10] =?UTF-8?q?fix=20:=20gradle=20working-directory=20me?= =?UTF-8?q?erket=EC=9C=BC=EB=A1=9C=20=EC=84=A4=EC=A0=95=ED=95=B4=EC=A3=BC?= =?UTF-8?q?=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-pr.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 78bd84fa..8dce0d16 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -27,6 +27,9 @@ jobs: - name: List project files run: ls -l # 디렉토리 구조 확인 + + - name: List meerket directory files + run: ls -l meerket # meerket 디렉토리 구조 확인 - name: Ensure Gradlew is Executable run: chmod +x ./meerket/gradlew # gradlew에 실행 권한 부여 @@ -46,5 +49,6 @@ jobs: - name: Clean Build with Gradle Wrapper + working-directory: ./meerket run: ./meerket/gradlew clean build --no-daemon --info From 7708788803a338c8464f46a4a95e6fa8a343e26b Mon Sep 17 00:00:00 2001 From: sunghyun <101376904+sunghyun0610@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:39:43 +0900 Subject: [PATCH 09/10] Update ci-pr.yml --- .github/workflows/ci-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 8dce0d16..449f987f 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -50,5 +50,5 @@ jobs: - name: Clean Build with Gradle Wrapper working-directory: ./meerket - run: ./meerket/gradlew clean build --no-daemon --info + run: ./gradlew clean build --no-daemon --info From d9703c28e105d0fd4dfa94a526c8b5c531df3f12 Mon Sep 17 00:00:00 2001 From: sunghyun <101376904+sunghyun0610@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:48:15 +0900 Subject: [PATCH 10/10] =?UTF-8?q?fix=20:=20ci=EC=8B=9C=20=20=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=EB=8A=94=20=EC=83=9D=EB=9E=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 449f987f..5c5cdce4 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -50,5 +50,5 @@ jobs: - name: Clean Build with Gradle Wrapper working-directory: ./meerket - run: ./gradlew clean build --no-daemon --info + run: ./gradlew clean build -x test --no-daemon --info