name: PR Check on: pull_request: branches: [ master ] paths-ignore: - 'fastlane/**' - '.github/**' - 'icons/**' - 'images/**' - 'scripts/**' - 'whatsnew/**' - '**.md' - '**.MD' jobs: validate-pr: name: 'Spotless, Tests and Build Production Debug Build' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setting up project uses: ./.github/actions/setup - name: ๐Ÿ›  Build Project with Spotless Check run: ./gradlew spotlessCheck - name: ๐Ÿงช Run Tests run: ./gradlew test - name: ๐Ÿ— Build APK run: bash ./gradlew assembleFreeDebug - name: ๐Ÿš€ Upload APK to Artifacts ๐Ÿ“ฑ uses: actions/upload-artifact@v4 with: name: app path: app/build/outputs/apk/free/debug/*.apk retention-days: 3