Update dependency com.squareup.sort-dependencies to v0.9 (#658) #2355
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: | |
jobs: | |
testing: | |
name: Lint and unit test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
token: ${{ secrets.CIS_MIDIS_TOKEN }} | |
- name: checkout submodules | |
run: | | |
git submodule init | |
git submodule update | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
- name: Decode Firebase google-services.json | |
env: | |
FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }} | |
run: | | |
echo $FIREBASE_CONFIG > app/google-services.json | |
echo $FIREBASE_CONFIG > app-v2/google-services.json | |
- name: Decode Keystore properties file | |
env: | |
KEY_PROPERTIES: ${{ secrets.KEY_STORE_PROPERTIES }} | |
run: echo $KEY_PROPERTIES > app/keystore.properties | |
- name: Run spotless | |
run: ./gradlew spotlessCheck | |
- name: Run Android lint | |
run: ./gradlew lintDebug | |
- name: Run unit tests | |
run: ./gradlew testDebugUnitTest |