Skip to content

Commit

Permalink
Update pull-request-intergration.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YeaChan05 authored Feb 8, 2024
1 parent e329343 commit 40a2146
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/pull-request-intergration.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: integrate pull request with test
name: Integrate Pull Request with Test

on:
push:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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() }}
Expand Down

0 comments on commit 40a2146

Please sign in to comment.