[UPD] - bump patch version to 1.2.7+107; #1548
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: PR Check | |
| on: | |
| pull_request: | |
| branches: [main, develop] | |
| push: | |
| branches: [main, develop] | |
| jobs: | |
| lint-and-compile: | |
| runs-on: ubuntu-latest | |
| env: | |
| GRADLE_OPTS: >- | |
| -Dorg.gradle.configuration-cache.read-only=true | |
| -Dorg.gradle.dependency.verification.console=verbose | |
| permissions: | |
| # Read access to repository contents (required for checkout) | |
| contents: read | |
| # Read access to pull requests (optional, for PR context) | |
| pull-requests: read | |
| # Write access to checks (optional, for check runs status) | |
| checks: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| cache: 'gradle' | |
| - name: Setup Android SDK | |
| uses: android-actions/setup-android@40fd30fb8d7440372e1316f5d1809ec01dcd3699 # v4.0.1 | |
| - name: Validate Android Gradle Wrapper | |
| run: | | |
| if [ -f "android/gradlew" ]; then | |
| chmod +x android/gradlew | |
| if [ ! -f "android/gradle/wrapper/gradle-wrapper.properties" ]; then | |
| echo "ERROR: android/gradle/wrapper/gradle-wrapper.properties is missing" | |
| exit 1 | |
| fi | |
| else | |
| echo "ERROR: android/gradlew not found. Commit Gradle wrapper files to repository." | |
| exit 1 | |
| fi | |
| - name: Format Kotlin code | |
| run: make fmt-kotlin | |
| - name: Lint Kotlin code | |
| run: make lint-kotlin | |
| - name: Validate Hilt dependency graph | |
| run: make hilt-graph-check | |
| - name: Compile Kotlin code | |
| run: make compile | |
| - name: Run unit tests | |
| run: make test-ci | |
| - name: Generate test coverage report | |
| run: make test-coverage | |
| - name: Verify test coverage (85% minimum) | |
| run: make test-coverage-verify |