mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2026-01-05 16:36:31 -06:00
42 lines
905 B
YAML
42 lines
905 B
YAML
name: PR Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master ]
|
|
paths-ignore:
|
|
- 'fastlane/**'
|
|
- '.github/**'
|
|
- 'icons/**'
|
|
- 'images/**'
|
|
- 'scripts/**'
|
|
- 'whatsnew/**'
|
|
- '**.md'
|
|
- '**.MD'
|
|
|
|
|
|
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
|