fix(deps): update koin to v4 (major) #849
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: macos-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Copy CI gradle.properties | |
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
- name: Retrieve the secret and decode it to a file | |
env: | |
SECRETS_BASE64: ${{ secrets.SECRETS_BASE64 }} | |
run: | | |
echo $SECRETS_BASE64 | base64 --decode > secrets.properties | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: zulu | |
cache: 'gradle' | |
- name: Check formatting and build apk | |
run: ./gradlew spotlessCheck lintRelease :composeApp:assembleRelease --stacktrace | |
- name: Upload build outputs (APKs) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-outputs | |
path: composeApp/build/outputs/apk | |
- name: Upload build reports | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-reports | |
path: composeApp/build/reports |