#302 Update target sdk to 36 (#303) #45
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - v* | |
| pull_request: | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: echo "The job was automatically triggered by a ${{ github.event_name }} event." | |
| - run: echo "This job is running on a ${{ runner.os }} server hosted by GitHub!" | |
| - run: echo "The ${{ github.repository }} repository has been cloned." | |
| - run: echo "Setting up JDK" | |
| - name: Setup | |
| uses: ./.github/actions/workflow_setup | |
| - run: echo "Run unit tests" | |
| - name: Test | |
| run: ./gradlew test | |
| - name: Static Analysis | |
| run: ./gradlew lintKotlin detektAll | |
| - run: echo "Assembling main outputs" | |
| - name: Assemble | |
| run: ./gradlew assemble | |
| - run: echo "Build status report=${{ job.status }}." | |
| - run: echo "Uploading build artifacts" | |
| - name: Upload a Build Artifact (APK) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: app | |
| path: app/build/outputs/apk/debug/app-debug.apk |