name: PR Check on: pull_request: branches: [ master ] paths-ignore: - 'fastlane/**' - '.github/**' - 'icons/**' - 'images/**' - 'scripts/**' - 'whatsnew/**' - '**.md' - '**.MD' # If two events are triggered within a short time in the same PR, cancel the run of the oldest event concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number }} cancel-in-progress: true jobs: validate-pr: name: 'Tests and Build Production Debug Build' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setting up project uses: ./.github/actions/setup - name: ๐Ÿงช Run Tests run: ./gradlew test # - name: ๐Ÿงช Run Lint free Release # run: ./gradlew lintFreeRelease - 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