fix(deps): update dependency androidx.core:core-ktx to v1.19.0 - autoclosed #234
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: Pull request CI Workflow | |
| on: | |
| pull_request: | |
| branches: | |
| [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 | |
| - name: setup JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| cache: 'gradle' | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Cache Gradle | |
| uses: actions/cache@v6 | |
| with: | |
| path: ~/.gradle/caches | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Create local.properties file | |
| env: | |
| LOCAL_PROPERTIES: ${{secrets.LOCAL_PROPERTIES}} | |
| run: echo $LOCAL_PROPERTIES > local.properties | |
| - name: Run debug Build | |
| run: ./gradlew assembleDebug | |
| lint-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 | |
| - name: Create local.properties file | |
| env: | |
| LOCAL_PROPERTIES: ${{secrets.LOCAL_PROPERTIES}} | |
| run: echo $LOCAL_PROPERTIES > local.properties | |
| - name: Run linter for code analysis | |
| run: ./gradlew lintDebug | |
| - name: Upload lint report | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: lint_report.html | |
| path: app/build/reports/lint-results-debug.html | |
| unit-tests: | |
| needs: [lint-check] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 | |
| - name: setup JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| cache: 'gradle' | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Create local.properties file | |
| env: | |
| LOCAL_PROPERTIES: ${{secrets.LOCAL_PROPERTIES}} | |
| run: echo $LOCAL_PROPERTIES > local.properties | |
| - name: Run unit tests and generate coverage report | |
| run: ./gradlew jacocoAggregatedReport --stacktrace | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v7 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./build/reports/jacoco/aggregated/report.xml | |
| fail_ci_if_error: false |