From 40a2146be8a54755da01749134bd12ba1d45a9d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=8B=A0=EC=98=88=EC=B0=AC?= <88381563+YeaChan05@users.noreply.github.com> Date: Thu, 8 Feb 2024 16:09:28 +0900 Subject: [PATCH] Update pull-request-intergration.yml --- .../workflows/pull-request-intergration.yml | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pull-request-intergration.yml b/.github/workflows/pull-request-intergration.yml index bc7135ba3..9b554b32a 100644 --- a/.github/workflows/pull-request-intergration.yml +++ b/.github/workflows/pull-request-intergration.yml @@ -1,4 +1,4 @@ -name: integrate pull request with test +name: Integrate Pull Request with Test on: push: @@ -27,16 +27,10 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up JDK 17 - uses: actions/setup-java@v4 + uses: actions/setup-java@v3 with: - java-version: '17' - distribution: 'temurin' - - cache-dependencies: - needs: setup - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 + java-version: 17 + distribution: 'corretto' - name: Caching Dependencies uses: actions/cache@v3 with: @@ -46,9 +40,13 @@ jobs: key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} restore-keys: | ${{ runner.os }}-gradle- - + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: 3.8 + build: - needs: cache-dependencies + needs: setup runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -69,10 +67,6 @@ jobs: needs: test runs-on: ubuntu-latest steps: - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: 3.8 - name: Report Test Results uses: EnricoMi/publish-unit-test-result-action@v2 if: ${{ always() }}