From 14df19d060724fcd8311e245a9114857e58ab649 Mon Sep 17 00:00:00 2001 From: ybchar Date: Sat, 6 Apr 2024 01:55:06 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20PR=20=ED=91=B8=EC=8B=9C=20=EC=8B=9C=20?= =?UTF-8?q?build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/develop_pull_request.yml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/develop_pull_request.yml diff --git a/.github/workflows/develop_pull_request.yml b/.github/workflows/develop_pull_request.yml new file mode 100644 index 0000000..a73aa39 --- /dev/null +++ b/.github/workflows/develop_pull_request.yml @@ -0,0 +1,29 @@ +name: develop(pull_request) Test +on: + pull_request: + branches: + - develop +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + java-version: [ 17 ] + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Java + uses: actions/setup-java@v3 + with: + java-version: ${{ matrix.java-version }} + distribution: 'adopt' + + - name: Grant execute permission for gradlew + run: chmod +x ./gradlew + + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + with: + arguments: check + cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}