Update Project Dependencies and Fix Breaking Changes #243
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- v* | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- 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!" | |
- uses: actions/checkout@v3 | |
- run: echo "The ${{ github.repository }} repository has been cloned." | |
- run: echo "Setting up JDK" | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
cache: gradle | |
- run: echo "The workflow is now ready to test your code." | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- run: echo "Run unit tests" | |
- name: Test | |
run: ./gradlew test | |
- name: Static Analysis | |
run: ./gradlew lintKotlin | |
- 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 |