Skip to content

chore(deps): bump org.jetbrains.kotlinx:kotlinx-datetime from 0.7.1 to 0.7.1-0.6.x-compat in the kotlin group across 1 directory #458

chore(deps): bump org.jetbrains.kotlinx:kotlinx-datetime from 0.7.1 to 0.7.1-0.6.x-compat in the kotlin group across 1 directory

chore(deps): bump org.jetbrains.kotlinx:kotlinx-datetime from 0.7.1 to 0.7.1-0.6.x-compat in the kotlin group across 1 directory #458

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
# Cancel any current or previous job from the same PR
concurrency:
group: ${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
build-and-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
validate-wrappers: true
gradle-home-cache-cleanup: true
- name: Build Android
run: ./gradlew assembleDebug :wearApp:assembleDebug
- name: Build Desktop
run: ./gradlew :desktopApp:jvmJar
- name: Run tests
run: ./gradlew jvmTest
- name: Run Android Lint
run: ./gradlew :androidApp:lintDebug :wearApp:lintDebug
- name: Run Detekt
run: ./gradlew detekt
- name: Upload debug APKs
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v4
with:
name: debug-apks
path: |
androidApp/build/outputs/apk/debug/*.apk
wearApp/build/outputs/apk/debug/*.apk
retention-days: 14
- name: Upload lint reports
if: always()
uses: actions/upload-artifact@v4
with:
name: lint-reports
path: |
androidApp/build/reports/lint-results-debug.html
wearApp/build/reports/lint-results-debug.html
- name: Upload SARIF to GitHub
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: build/reports/detekt/detekt.sarif
ios-check:
runs-on: macos-latest
if: github.event_name == 'push' || github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Check for iOS-related changes
id: filter
run: |
if [ "${{ github.event_name }}" = "push" ]; then
CHANGED=$(git diff --name-only HEAD~1 HEAD)
else
git fetch origin ${{ github.base_ref }} --depth=1
CHANGED=$(git diff --name-only FETCH_HEAD HEAD)
fi
if echo "$CHANGED" | grep -qE '^(shared/|iosApp/|gradle/|build-logic/|.*\.gradle\.kts$|gradle\.properties$)'; then
echo "should_run=true" >> "$GITHUB_OUTPUT"
else
echo "should_run=false" >> "$GITHUB_OUTPUT"
fi
- name: Set up JDK 21
if: steps.filter.outputs.should_run == 'true'
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
if: steps.filter.outputs.should_run == 'true'
uses: gradle/actions/setup-gradle@v4
with:
validate-wrappers: true
gradle-home-cache-cleanup: true
- name: Cache Kotlin/Native compiler
if: steps.filter.outputs.should_run == 'true'
uses: actions/cache@v4
with:
path: ~/.konan
key: konan-${{ runner.os }}-${{ hashFiles('gradle/libs.versions.toml') }}
restore-keys: konan-${{ runner.os }}-
- name: Build iOS framework
if: steps.filter.outputs.should_run == 'true'
run: ./gradlew :shared:linkReleaseFrameworkIosSimulatorArm64