Skip to content

fix(deps): update all dependencies 1.10.0-beta02 to v1.10.0-rc01 (#538) #1620

fix(deps): update all dependencies 1.10.0-beta02 to v1.10.0-rc01 (#538)

fix(deps): update all dependencies 1.10.0-beta02 to v1.10.0-rc01 (#538) #1620

Workflow file for this run

name: Push
on:
pull_request:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
test-android:
name: Test (Android)
runs-on: macos-26
steps:
- uses: actions/checkout@v6
- name: Setup composite build caching
uses: actions/cache@v4
with:
path: |
build-logic/build
build-logic/convention/build
key: build-logic-${{ hashFiles('build-logic/*.kts', 'build-logic/convention/src/**', 'build-logic/convention/*.kts') }}
- name: Kotlin Native cache - restore and save
uses: actions/cache@v4
if: github.ref == 'refs/heads/main'
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ github.job }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-konan-${{ github.job }}
- name: Kotlin Native cache - restore only
uses: actions/cache/restore@v4
if: github.ref != 'refs/heads/main'
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ github.job }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-konan-${{ github.job }}
- uses: gradle/actions/setup-gradle@v5
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"
- name: Run local tests
run: ./gradlew testDebug
- name: Generate coverage output
if: github.ref == 'refs/heads/main'
run: |
echo "COVERAGE=$(./gradlew -q testDebugUnitTest koverLineCoverage -Pkover koverXmlReport)" >> $GITHUB_ENV
- name: Update dynamic badge gist
uses: schneegans/[email protected]
if: github.ref == 'refs/heads/main'
with:
auth: ${{secrets.GIST_SECRET}}
gistID: 446173b9ad64f83674608016425ee4aa
filename: monica-coverage-badge.json
label: coverage
message: ${{env.COVERAGE}}%
valColorRange: ${{env.COVERAGE}}
minColorRange: 0
maxColorRange: 100
build-android:
name: Build (Android)
runs-on: macos-26
steps:
- uses: actions/checkout@v6
- name: Setup composite build caching
uses: actions/cache@v4
with:
path: |
build-logic/build
build-logic/convention/build
key: build-logic-${{ hashFiles('build-logic/*.kts', 'build-logic/convention/src/**', 'build-logic/convention/*.kts') }}
- name: Kotlin Native cache - restore and save
uses: actions/cache@v4
if: github.ref == 'refs/heads/main'
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ github.job }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-konan-${{ github.job }}
- name: Kotlin Native cache - restore only
uses: actions/cache/restore@v4
if: github.ref != 'refs/heads/main'
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ github.job }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-konan-${{ github.job }}
- uses: gradle/actions/setup-gradle@v5
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"
- name: Setup signing
run: |
# Decode keystore and save in expected place
echo ${{ secrets.RELEASE_KEYSTORE_BASE64 }} > keystore_base64.txt
base64 -d -i keystore_base64.txt -o app/release.jks
# Retrieve other secrets and place in expected place
touch local.properties
echo "RELEASE_STORE_PASSWORD=${{ secrets.RELEASE_STORE_PASSWORD }}" >> local.properties
echo "RELEASE_KEY_ALIAS=${{ secrets.RELEASE_KEY_ALIAS }}" >> local.properties
echo "RELEASE_KEY_PASSWORD=${{ secrets.RELEASE_KEY_PASSWORD }}" >> local.properties
- name: Setup Sentry
run: |
touch sentry.properties
echo "defaults.project=${{ secrets.SENTRY_PROJECT }}" >> sentry.properties
echo "defaults.org=${{ secrets.SENTRY_ORG }}" >> sentry.properties
echo "auth.token=${{ secrets.SENTRY_AUTH_TOKEN }}" >> sentry.properties
- name: Assemble Android
run: |
./gradlew :app:assembleDebug :app:assembleRelease --stacktrace \
-Pandroid.experimental.settings.executionProfile=ci
- name: Upload APK (debug)
uses: actions/upload-artifact@v5
with:
name: apk-debug
path: app/build/outputs/apk/debug/app-debug.apk
- name: Upload APK (release)
uses: actions/upload-artifact@v5
with:
name: apk-release
path: app/build/outputs/apk/release/app-release.apk
build-ios:
name: Build (iOS Simulator)
runs-on: macos-26
steps:
- uses: actions/checkout@v6
- name: Setup composite build caching
uses: actions/cache@v4
with:
path: |
build-logic/build
build-logic/convention/build
key: build-logic-${{ hashFiles('build-logic/*.kts', 'build-logic/convention/src/**', 'build-logic/convention/*.kts') }}
- name: Kotlin Native cache - restore and save
uses: actions/cache@v4
if: github.ref == 'refs/heads/main'
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ github.job }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-konan-${{ github.job }}
- name: Kotlin Native cache - restore only
uses: actions/cache/restore@v4
if: github.ref != 'refs/heads/main'
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ github.job }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-konan-${{ github.job }}
- uses: gradle/actions/setup-gradle@v5
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"
- name: Build Debug for iOS Simulator
run: |
xcodebuild build -project iosApp/iosApp.xcodeproj -scheme iosApp -destination 'platform=iOS Simulator,name=iPhone 17 Pro Max,OS=latest'