chore(deps)(deps): bump the gradle-minor-and-patch group across 1 directory with 18 updates #96
Workflow file for this run
This file contains hidden or 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: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| # Lint runs on ubuntu-latest. The composeApp module's AGP plugin requires | |
| # the Android SDK at configure time. ubuntu-latest GitHub-hosted runners | |
| # ship with the Android SDK pre-installed at /usr/local/lib/android/sdk; | |
| # no explicit setup-android-sdk step is needed today. Re-evaluate if the | |
| # runner image changes. | |
| lint: | |
| name: ktlint + detekt | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - uses: gradle/actions/setup-gradle@v6 | |
| - name: Run ktlint | |
| run: ./gradlew ktlintCheck --stacktrace | |
| - name: Run detekt | |
| run: ./gradlew detekt --stacktrace | |
| kmp: | |
| name: KMP build & test | |
| needs: lint | |
| runs-on: macos-14 | |
| timeout-minutes: 25 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - uses: gradle/actions/setup-gradle@v6 | |
| - name: Build shared (all targets) | |
| run: ./gradlew :shared:build --stacktrace | |
| - name: Check public API compatibility | |
| run: ./gradlew :shared:checkKotlinAbi --stacktrace | |
| - name: Run common tests | |
| run: ./gradlew :shared:allTests --stacktrace | |
| - name: Build and test android-reader module | |
| run: ./gradlew :android:reader:assembleDebug :android:reader:check --stacktrace | |
| - name: Build and test Android sample | |
| run: ./gradlew :composeApp:testDebugUnitTest :composeApp:assembleDebug --stacktrace | |
| ios: | |
| name: iOS build & test | |
| needs: lint | |
| runs-on: macos-14 | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: latest-stable | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - uses: gradle/actions/setup-gradle@v6 | |
| - name: Build Shared XCFramework | |
| run: ./gradlew :shared:assembleSharedReleaseXCFramework --stacktrace | |
| - name: Test EmvReader Swift package | |
| working-directory: ios | |
| shell: bash | |
| run: | | |
| set -o pipefail | |
| xcodebuild \ | |
| -scheme EmvReader \ | |
| -destination 'platform=iOS Simulator,name=iPhone 16' \ | |
| -derivedDataPath .build-ios \ | |
| test | |
| - name: Build iOS sample app | |
| shell: bash | |
| run: | | |
| set -o pipefail | |
| xcodebuild -project iosApp/iosApp.xcodeproj \ | |
| -scheme iosApp \ | |
| -destination 'platform=iOS Simulator,name=iPhone 16' \ | |
| -configuration Debug \ | |
| build |