Regenerate lint baseline: 1869 to 523 warnings (72% reduction). #24
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: [trunk, modernize] | |
| pull_request: | |
| branches: [trunk] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - uses: android-actions/setup-android@v3 | |
| - uses: gradle/actions/setup-gradle@v4 | |
| - name: Build debug APK | |
| run: ./gradlew :BT_Free:assembleDebug | |
| - name: Detekt | |
| run: ./gradlew :BTLib:detekt | |
| - name: Lint | |
| run: ./gradlew :BTLib:lint :BT_Free:lint | |
| continue-on-error: true | |
| - name: Upload lint reports | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: lint-reports | |
| path: | | |
| BTLib/build/reports/lint-results*.html | |
| BT_Free/build/reports/lint-results*.html |