[Fix] #67 qa bottom sheet #112
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: Android CI | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "develop" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out repository | |
uses: actions/checkout@v3 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: check google client id | |
env: | |
GOOGLE_CLIENT_ID: ${{secrets.GOOGLE_CLIENT_ID}} | |
run: | | |
echo web_client_id=\""$GOOGLE_CLIENT_ID"\" >> local.properties | |
- name: Run ktlint | |
run: ./gradlew ktlintCheck | |
- name: Run unit tests | |
run: ./gradlew testDebugUnitTest | |
- name: Build with Gradle | |
run: ./gradlew assembleDebug |