Files
KeyPass/.github/workflows/pr-check.yaml
Yogesh Choudhary Paliyal 9fef76a3f4 Migration from gradle groovy to kotlin kts (#525)
* versions improvements

* improvements

* remove navigatio  plugin

* migrated gradle files from grovvy to kts
2023-05-10 14:43:22 +05:30

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