카카오 로그인 연동 구조 설계 및 초기 구현 #184
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Android CI | |
| on: | |
| pull_request: | |
| branches: [ "develop" ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: Prezel | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 1 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| cache: 'gradle' | |
| cache-dependency-path: | | |
| Prezel/*.gradle* | |
| Prezel/**/gradle-wrapper.properties | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Create local.properties | |
| run: echo "${{ secrets.LOCAL_PROPERTIES_CONTENTS }}" > ./local.properties | |
| - name: Run Ktlint | |
| run: ./gradlew ktlintCheck --build-cache --parallel | |
| - name: Run Detekt | |
| run: ./gradlew detekt --build-cache --parallel | |
| - name: Run Unit Tests | |
| run: ./gradlew testDebugUnitTest --build-cache --parallel | |
| - name: Build Debug APK | |
| run: ./gradlew assembleDebug --build-cache --parallel |