chore(deps): update compose.multiplatform to v1.8.0+check #240
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: PR job | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- development | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "*.png" | |
- docs | |
jobs: | |
pre-conditions: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/[email protected] | |
with: | |
distribution: corretto | |
java-version: 18 | |
- name: Cache Kotlin Multiplatform | |
uses: ./.github/actions/kmp_cache | |
- name: detekt | |
run: ./gradlew detekt --stacktrace | |
- name: GitHub Action for SwiftLint (Only files changed in the PR) | |
uses: norio-nomura/[email protected] | |
env: | |
WORKING_DIRECTORY: ./iosApp | |
- name: Tests | |
uses: gradle/[email protected] | |
with: | |
arguments: test | |
- name: Kover XML Report | |
uses: ./.github/actions/kover_report | |
id: kover_report | |
with: | |
artifacts_name: android-test-report | |
build-android: | |
needs: pre-conditions | |
runs-on: ubuntu-24.04 | |
outputs: | |
kover_report_available: ${{ steps.kover_report.outputs.kover_report_available }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/[email protected] | |
with: | |
distribution: corretto | |
java-version: 18 | |
- name: Cache Kotlin Multiplatform | |
uses: ./.github/actions/kmp_cache | |
- name: Build | |
run: ./gradlew build --stacktrace | |
build-ios: | |
needs: pre-conditions | |
runs-on: macos-14 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/[email protected] | |
with: | |
distribution: corretto | |
java-version: 18 | |
- name: Grant execute permission for gradlew | |
run: chmod +x ./gradlew | |
- name: Cache Kotlin Multiplatform | |
uses: ./.github/actions/kmp_cache | |
- name: Select Xcode version | |
run: | | |
XCODE_VERSION="15.0" | |
sudo xcode-select -s "/Applications/Xcode_${XCODE_VERSION}.app" | |
- name: Build | |
run: | | |
cd iosApp | |
rm -f iosApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved | |
xcodebuild -resolvePackageDependencies -project iosApp.xcodeproj | |
xcodebuild build-for-testing \ | |
-scheme "iosApp" \ | |
-project iosApp.xcodeproj \ | |
-destination 'platform=iOS Simulator,name=iPhone 15,OS=18.0' \ | |
-allowProvisioningUpdates \ | |
-configuration Debug \ | |
DEVELOPMENT_TEAM=${{ secrets.APPLE_TEAM_ID }} | |
comment-test-report: | |
needs: [pre-conditions] | |
if: | | |
always() && | |
github.event_name == 'pull_request' | |
runs-on: ubuntu-24.04 | |
permissions: | |
actions: read | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Comment Kover Report to PR | |
uses: ./.github/actions/comment_kover_report_to_pr | |
with: | |
report_name: android-test-report |