From 1638e6d0dc456182196dd224c2dba1a8a2d0f77d Mon Sep 17 00:00:00 2001 From: dungbik Date: Mon, 9 Feb 2026 18:48:58 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Chore:=20CI=20=ED=8C=8C=EC=9D=B4=ED=94=84?= =?UTF-8?q?=EB=9D=BC=EC=9D=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 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 0000000..699db2b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,56 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + + - name: Build with Gradle + run: ./gradlew build -x test + + - name: Run tests + run: ./gradlew test + + dependency-check: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run dependency check + uses: dependency-check/Dependency-Check_Action@main + with: + project: 'FlipNote-Gateway' + path: '.' + format: 'HTML' + + - name: Upload dependency check report + uses: actions/upload-artifact@v4 + if: always() + with: + name: dependency-check-report + path: reports/ From 551785faf1d2c9002acf11af52f009f1a34f85e9 Mon Sep 17 00:00:00 2001 From: dungbik Date: Mon, 9 Feb 2026 18:49:14 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Chore:=20Test=20=EC=8B=A4=ED=8C=A8=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/resources/application.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/test/resources/application.yml diff --git a/src/test/resources/application.yml b/src/test/resources/application.yml new file mode 100644 index 0000000..6ad3c5a --- /dev/null +++ b/src/test/resources/application.yml @@ -0,0 +1,2 @@ +jwt: + secret: "55ca298dcfc216e215622e3f48a251abaa4e8bb973074f065ab170e311acc15811d01a2407290c3ac143648196306d4a6f666a4ed364d3df633e08eb184bb0aea0f2edde4fd2d7fa68ea95ddbc421ff532ce47bde775975911042d665bc22d88a9fa26a03bb4d25530b8cdeb1247d87c9e3efcd721e368b0566b00a43308a729"