fix(detekt): reemplazar Exception genérico por tipos específicos en c… #39
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| name: Build & Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Make gradlew executable | |
| run: chmod +x gradlew | |
| - name: Run Detekt | |
| run: ./gradlew detekt | |
| - name: Run unit tests | |
| run: ./gradlew test --parallel | |
| - name: Run lint | |
| run: ./gradlew lintDebug --parallel | |
| - name: Build debug APK | |
| run: ./gradlew assembleDebug --parallel | |
| - name: Upload APK | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: helm-debug | |
| path: app/build/outputs/apk/debug/app-debug.apk | |
| retention-days: 14 |