Skip to content

chore : Gradle Check 수행하는 CI Workflows 작성 #3

chore : Gradle Check 수행하는 CI Workflows 작성

chore : Gradle Check 수행하는 CI Workflows 작성 #3

name : Check Style and Test to Develop
on:
pull_request:
branches: [ "develop" ]
jobs:
build-test:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Git Checkout
uses: actions/[email protected]
- name: JDK 설치
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: gradlew 권한 부여
run: chmod +x ./gradlew
- name: Gradle Build
uses: gradle/gradle-build-action@v2
with:
arguments: check
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}