Move all database queries off the ui thread & add a ViewModel for MainActivity #119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check and build | |
on: | |
pull_request: | |
workflow_call: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: ktlint | |
run: ./gradlew clean ktlintCheck | |
- name: Regular lint | |
run: ./gradlew app:lintGreenDebug | |
- name: Test | |
run: ./gradlew app:testGreenDebugUnitTest | |
- name: Build | |
run: ./gradlew app:buildGreenDebug |