mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2026-02-06 19:18:33 -06:00
* versions improvements * improvements * remove navigatio plugin * migrated gradle files from grovvy to kts
43 lines
917 B
YAML
43 lines
917 B
YAML
name: PR Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master ]
|
|
paths-ignore:
|
|
- 'fastlane/**'
|
|
- '.github/**'
|
|
- 'icons/**'
|
|
- 'images/**'
|
|
- 'scripts/**'
|
|
- 'whatsnew/**'
|
|
- '**.md'
|
|
- '**.MD'
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
name: 'Spotless, Tests and Build Production Debug Build'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- 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 assembleProductionDebug
|
|
|
|
- name: 🚀 Upload APK to Artifiacts 📱
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: app
|
|
path: app/build/outputs/apk/production/debug/*.apk
|
|
retention-days: 3
|