[FIX/#698] 피드 스크롤 시 토스트가 간혈적으로 표시되지 않던 이슈 해결 (#751) #1200
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: Hilingual PR CI | |
| on: | |
| pull_request: | |
| branches: [ develop, main ] | |
| push: | |
| branches: [ develop ] | |
| jobs: | |
| lint: | |
| name: PR Lint Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 17 | |
| distribution: 'temurin' | |
| - name: Set up Android SDK | |
| uses: android-actions/setup-android@v3 | |
| - name: Create local.properties from secret | |
| env: | |
| LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }} | |
| run: | | |
| printf "%s" "$LOCAL_PROPERTIES" > local.properties | |
| echo "sdk.dir=$ANDROID_SDK_ROOT" >> local.properties | |
| - name: Grant permission to gradlew | |
| run: chmod +x ./gradlew | |
| - name: Run ktlint | |
| run: ./gradlew ktlintCheck | |
| build: | |
| name: PR Build Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 17 | |
| distribution: 'temurin' | |
| - name: Set up Android SDK | |
| uses: android-actions/setup-android@v3 | |
| - name: Create local.properties from secret | |
| env: | |
| LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }} | |
| run: | | |
| printf "%s" "$LOCAL_PROPERTIES" > local.properties | |
| echo "sdk.dir=$ANDROID_SDK_ROOT" >> local.properties | |
| - name: Decode and install debug keystore | |
| env: | |
| DEBUG_KEYSTORE_BASE64: ${{ secrets.DEBUG_KEYSTORE_BASE64 }} | |
| run: | | |
| mkdir -p ./keystore | |
| echo "$DEBUG_KEYSTORE_BASE64" | base64 --decode > ./keystore/hilingual-debug-key.jks | |
| - name: Create google-services.json | |
| env: | |
| GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }} | |
| run: | | |
| printf "%s" "$GOOGLE_SERVICES_JSON" > ./app/google-services.json | |
| - name: Grant permission to gradlew | |
| run: chmod +x ./gradlew | |
| - name: Build with Gradle | |
| run: ./gradlew :app:assembleDebug --stacktrace |