fix(deps): update dependency org.jetbrains.compose.runtime:runtime to v23 - autoclosed #2059
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: Build all and test | |
| #on: | |
| # push: | |
| # branches: | |
| # - main | |
| # pull_request: | |
| #on: workflow_dispatch | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| concurrency: | |
| group: build-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: "Local tests" | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write | |
| actions: read | |
| checks: write | |
| contents: write | |
| pull-requests: write | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Copy CI gradle.properties | |
| run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version-file: .github/workflows/.java-version | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| build-scan-publish: true | |
| build-scan-terms-of-use-url: "https://gradle.com/terms-of-service" | |
| build-scan-terms-of-use-agree: "yes" | |
| - name: Apply Spotless | |
| run: | | |
| ./gradlew spotlessApply :build-logic:convention:spotlessApply | |
| - name: Check build-logic | |
| run: ./gradlew check -p build-logic | |
| - name: Check Detekt and Design system is used | |
| run: ./gradlew lintCheck | |
| - name: Upload merge detekt | |
| uses: github/codeql-action/[email protected] | |
| if: success() || failure() | |
| with: | |
| sarif_file: build/reports/detekt/merge.sarif | |
| category: detekt | |
| - name: Check Dependency Guard | |
| id: dependencyguard_verify | |
| continue-on-error: true | |
| run: ./gradlew dependencyGuard | |
| - name: Prevent updating Dependency Guard baselines if this is a fork | |
| id: checkfork_dependencyguard | |
| continue-on-error: false | |
| if: steps.dependencyguard_verify.outcome == 'failure' && github.event.pull_request.head.repo.full_name != github.repository | |
| run: | | |
| echo "::error::Dependency Guard failed, please update baselines with: ./gradlew dependencyGuardBaseline" && exit 1 | |
| # Runs if previous job failed | |
| - name: Generate new Dependency Guard baselines if verification failed and it's a PR | |
| id: dependencyguard_baseline | |
| if: steps.dependencyguard_verify.outcome == 'failure' && github.event_name == 'pull_request' | |
| run: | | |
| ./gradlew dependencyGuardBaseline | |
| - name: Run all local screenshot tests | |
| id: screenshotsverify | |
| continue-on-error: true | |
| run: ./gradlew validateFossReliantDebugScreenshotTest | |
| - name: Prevent pushing new screenshots if this is a fork | |
| id: checkfork_screenshots | |
| continue-on-error: false | |
| if: steps.screenshotsverify.outcome == 'failure' && github.event.pull_request.head.repo.full_name != github.repository | |
| run: | | |
| echo "::error::Screenshot tests failed, please create a PR in your fork first." && exit 1 | |
| # Runs if previous job failed | |
| - name: Generate new screenshots if verification failed and it's a PR | |
| id: screenshotsrecord | |
| if: steps.screenshotsverify.outcome == 'failure' && github.event_name == 'pull_request' | |
| run: | | |
| ./gradlew updateFossReliantDebugScreenshotTest | |
| - name: Generate coverage reports for Jvm | |
| run: ./gradlew koverHtmlReportJvm koverXmlReportJvm | |
| - name: Upload JVM local results (HTML) | |
| if: always() | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: local-test-results | |
| path: '**/build/reports/tests/jvmTest' | |
| - name: Publish Test Results | |
| if: success() || failure() | |
| uses: EnricoMi/[email protected] | |
| with: | |
| check_name: Test results | |
| comment_title: Test results | |
| large_files: true | |
| ignore_runs: false | |
| files: ./**/build/test-results/**/*.xml | |
| - name: Upload test results to Codecov | |
| if: success() || failure() | |
| uses: codecov/test-results-action@v1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./**/build/test-results/**/*.xml | |
| - name: Upload local coverage reports (XML + HTML) | |
| if: success() || failure() | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: coverage-reports | |
| if-no-files-found: error | |
| compression-level: 1 | |
| overwrite: false | |
| path: '**/build/reports/kover/' | |
| - name: Upload coverage | |
| if: success() || failure() | |
| uses: codecov/[email protected] | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: "app/build/reports/kover/reportJvm.xml" | |
| verbose: true | |
| # flags: jvm | |
| - name: Check lint | |
| run: ./gradlew lintFossReliantRelease | |
| - uses: github/codeql-action/[email protected] | |
| if: success() || failure() | |
| with: | |
| sarif_file: app/build/reports/lint-results-fossReliantRelease.sarif | |
| category: lint | |
| - name: Upload lint reports (HTML) | |
| if: always() | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: lint-reports | |
| path: '**/build/reports/lint-results-*.html' | |
| - name: Check badging | |
| run: ./gradlew checkFossReliantReleaseBadging | |
| - name: Push new Spotless Apply if available | |
| if: success() || failure() | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| with: | |
| file_pattern: '**/*.kt **/*.kts **/*.xml' | |
| disable_globbing: true | |
| commit_message: "🤖 Apply Spotless formatting" | |
| - name: Push new Dependency Guard baselines if available | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| if: steps.dependencyguard_baseline.outcome == 'success' | |
| with: | |
| file_pattern: '**/dependencies/*.txt' | |
| disable_globbing: true | |
| commit_message: "🤖 Updates baselines for Dependency Guard" | |
| - name: Push new screenshots if available | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| if: steps.screenshotsrecord.outcome == 'success' | |
| with: | |
| file_pattern: '*/*.png' | |
| disable_globbing: true | |
| commit_message: "🤖 Updates screenshots" | |
| buildFossReliant: | |
| name: "Build Foss Reliant" | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Copy CI gradle.properties | |
| run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version-file: .github/workflows/.java-version | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| build-scan-publish: true | |
| build-scan-terms-of-use-url: "https://gradle.com/terms-of-service" | |
| build-scan-terms-of-use-agree: "yes" | |
| - name: Remove Firebase References | |
| run: ./gradlew removeFirebaseReferences | |
| # - name: Downgrade Build Tools | |
| # run: ./gradlew downgradeBuildLogicAndAgp | |
| - name: Build all Foss Reliant APKs | |
| run: ./gradlew assembleFossReliant :benchmarks:assembleFossReliant | |
| -x pixel6Api33FossReliantNonMinifiedReleaseAndroidTest | |
| -x pixel6Api33FossReliantNonMinifiedBenchmarkAndroidTest | |
| -x collectFossReliantNonMinifiedReleaseBaselineProfile | |
| -x collectFossReliantNonMinifiedBenchmarkBaselineProfile | |
| - name: Upload build artifacts for Foss Reliant | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: Foss Reliant APKs | |
| path: '**/build/outputs/apk/**/*.apk' | |
| buildGooglePlay: | |
| name: "Build Google Play" | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Copy CI gradle.properties | |
| run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version-file: .github/workflows/.java-version | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| 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 all Google Play APKs | |
| run: ./gradlew assembleGooglePlay :benchmarks:assembleGooglePlay | |
| -x pixel6Api33GooglePlayNonMinifiedReleaseAndroidTest | |
| -x pixel6Api33GooglePlayNonMinifiedBenchmarkAndroidTest | |
| -x collectGooglePlayNonMinifiedReleaseBaselineProfile | |
| -x collectGooglePlayNonMinifiedBenchmarkBaselineProfile | |
| - name: Upload build artifacts for Google Play | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: Google Play APKs | |
| path: '**/build/outputs/apk/**/*.apk' | |
| buildDesktopJvm: | |
| name: "Build Desktop Jvm" | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version-file: .github/workflows/.java-version | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| 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 Distributable jar | |
| run: ./gradlew createDistributable | |
| buildWasmJs: | |
| name: "Build Wasm Js" | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version-file: .github/workflows/.java-version | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| build-scan-publish: true | |
| build-scan-terms-of-use-url: "https://gradle.com/terms-of-service" | |
| build-scan-terms-of-use-agree: "yes" | |
| - name: kotlinUpgradeYarnLock | |
| run: ./gradlew kotlinUpgradeYarnLock | |
| - name: Build wasmJsBrowserDevelopmentWebpack | |
| run: ./gradlew app:wasmJsBrowserDevelopmentWebpack |