mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2026-03-28 12:07:42 +00:00
build(deps): bump kotlin from 2.2.10 to 2.3.10 Bumps `kotlin` from 2.2.10 to 2.3.0. Updates `org.jetbrains.kotlin:kotlin-stdlib` from 2.2.10 to 2.3.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `org.jetbrains.kotlin:kotlin-reflect` from 2.2.10 to 2.3.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `org.jetbrains.kotlin:kotlin-test` from 2.2.10 to 2.3.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 2.2.10 to 2.3.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 2.2.10 to 2.3.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `org.jetbrains.kotlin.android` from 2.2.10 to 2.3.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `org.jetbrains.kotlin.plugin.parcelize` from 2.2.10 to 2.3.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `org.jetbrains.kotlin.jvm` from 2.2.10 to 2.3.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `org.jetbrains.kotlin.plugin.serialization` from 2.2.10 to 2.3.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin.android dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin.plugin.parcelize dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin.jvm dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin.plugin.serialization dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump kotlin from 2.3.0 to 2.3.10 fix: remove unnecessary safe property access these were non-null properties and do not need safe access, it is flagged as a warning (which we fail on with -Werror) in new kotlin build(deps): bump org.jlleitschuh.gradle.ktlint from 14.0.1 to 14.1.0 Bumps org.jlleitschuh.gradle.ktlint from 14.0.1 to 14.1.0. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle.ktlint dependency-version: 14.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump roborazzi from 1.58.0 to 1.59.0 Bumps `roborazzi` from 1.58.0 to 1.59.0. Updates `io.github.takahirom.roborazzi:roborazzi` from 1.58.0 to 1.59.0 - [Release notes](https://github.com/takahirom/roborazzi/releases) - [Commits](https://github.com/takahirom/roborazzi/compare/1.58.0...1.59.0) Updates `io.github.takahirom.roborazzi:roborazzi-junit-rule` from 1.58.0 to 1.59.0 - [Release notes](https://github.com/takahirom/roborazzi/releases) - [Commits](https://github.com/takahirom/roborazzi/compare/1.58.0...1.59.0) Updates `io.github.takahirom.roborazzi` from 1.58.0 to 1.59.0 - [Release notes](https://github.com/takahirom/roborazzi/releases) - [Commits](https://github.com/takahirom/roborazzi/compare/1.58.0...1.59.0) --- updated-dependencies: - dependency-name: io.github.takahirom.roborazzi:roborazzi dependency-version: 1.59.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.github.takahirom.roborazzi:roborazzi-junit-rule dependency-version: 1.59.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.github.takahirom.roborazzi dependency-version: 1.59.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump junit from 6.0.2 to 6.0.3 Bumps `junit` from 6.0.2 to 6.0.3. Updates `org.junit.jupiter:junit-jupiter` from 6.0.2 to 6.0.3 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](https://github.com/junit-team/junit-framework/compare/r6.0.2...r6.0.3) Updates `org.junit.jupiter:junit-jupiter-params` from 6.0.2 to 6.0.3 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](https://github.com/junit-team/junit-framework/compare/r6.0.2...r6.0.3) Updates `org.junit.platform:junit-platform-launcher` from 6.0.2 to 6.0.3 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](https://github.com/junit-team/junit-framework/compare/r6.0.2...r6.0.3) Updates `org.junit.vintage:junit-vintage-engine` from 6.0.2 to 6.0.3 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](https://github.com/junit-team/junit-framework/compare/r6.0.2...r6.0.3) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.jupiter:junit-jupiter-params dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.platform:junit-platform-launcher dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.vintage:junit-vintage-engine dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump androidx.activity:activity from 1.12.3 to 1.12.4 Bumps androidx.activity:activity from 1.12.3 to 1.12.4. --- updated-dependencies: - dependency-name: androidx.activity:activity dependency-version: 1.12.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump lint from 32.0.0 to 32.1.0 Bumps `lint` from 32.0.0 to 32.1.0. Updates `com.android.tools.lint:lint-api` from 32.0.0 to 32.1.0 Updates `com.android.tools.lint:lint` from 32.0.0 to 32.1.0 Updates `com.android.tools.lint:lint-tests` from 32.0.0 to 32.1.0 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-version: 32.1.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.android.tools.lint:lint dependency-version: 32.1.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.android.tools.lint:lint-tests dependency-version: 32.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump androidxMedia3 from 1.9.1 to 1.9.2 Bumps `androidxMedia3` from 1.9.1 to 1.9.2. Updates `androidx.media3:media3-ui` from 1.9.1 to 1.9.2 - [Release notes](https://github.com/androidx/media/releases) - [Changelog](https://github.com/androidx/media/blob/release/RELEASENOTES.md) - [Commits](https://github.com/androidx/media/compare/1.9.1...1.9.2) Updates `androidx.media3:media3-exoplayer-dash` from 1.9.1 to 1.9.2 - [Release notes](https://github.com/androidx/media/releases) - [Changelog](https://github.com/androidx/media/blob/release/RELEASENOTES.md) - [Commits](https://github.com/androidx/media/compare/1.9.1...1.9.2) Updates `androidx.media3:media3-exoplayer` from 1.9.1 to 1.9.2 - [Release notes](https://github.com/androidx/media/releases) - [Changelog](https://github.com/androidx/media/blob/release/RELEASENOTES.md) - [Commits](https://github.com/androidx/media/compare/1.9.1...1.9.2) --- updated-dependencies: - dependency-name: androidx.media3:media3-ui dependency-version: 1.9.2 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.media3:media3-exoplayer-dash dependency-version: 1.9.2 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.media3:media3-exoplayer dependency-version: 1.9.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump org.jetbrains:annotations from 26.0.2-1 to 26.1.0 Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations) from 26.0.2-1 to 26.1.0. - [Release notes](https://github.com/JetBrains/java-annotations/releases) - [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md) - [Commits](https://github.com/JetBrains/java-annotations/compare/26.0.2-1...26.1.0) --- updated-dependencies: - dependency-name: org.jetbrains:annotations dependency-version: 26.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump actions/upload-artifact from 6 to 7 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 4.33.5 to 4.34.0. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-version: 4.34.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump the non-breaking group across 1 directory with 8 updates # resolves axios conflict with `main`: now ahead Bumps the non-breaking group with 8 updates in the /tools/localization directory: | Package | From | To | | --- | --- | --- | | [axios](https://github.com/axios/axios) | `1.13.4` | `1.13.6` | | [dotenv](https://github.com/motdotla/dotenv) | `17.2.3` | `17.3.1` | | [@eslint/eslintrc](https://github.com/eslint/eslintrc) | `3.3.3` | `3.3.4` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.2.0` | `25.3.3` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.54.0` | `8.56.1` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.54.0` | `8.56.1` | | [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) | `17.23.2` | `17.24.0` | | [globals](https://github.com/sindresorhus/globals) | `17.3.0` | `17.4.0` | Updates `axios` from 1.13.4 to 1.13.6 - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.13.4...v1.13.6) Updates `dotenv` from 17.2.3 to 17.3.1 - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](motdotla/dotenv@v17.2.3...v17.3.1) Updates `@eslint/eslintrc` from 3.3.3 to 3.3.4 - [Release notes](https://github.com/eslint/eslintrc/releases) - [Changelog](https://github.com/eslint/eslintrc/blob/main/CHANGELOG.md) - [Commits](eslint/eslintrc@eslintrc-v3.3.3...eslintrc-v3.3.4) Updates `@types/node` from 25.2.0 to 25.3.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.54.0 to 8.56.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.56.1/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.54.0 to 8.56.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.56.1/packages/parser) Updates `eslint-plugin-n` from 17.23.2 to 17.24.0 - [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases) - [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md) - [Commits](eslint-community/eslint-plugin-n@v17.23.2...v17.24.0) Updates `globals` from 17.3.0 to 17.4.0 - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](sindresorhus/globals@v17.3.0...v17.4.0) --- updated-dependencies: - dependency-name: axios dependency-version: 1.13.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-breaking - dependency-name: dotenv dependency-version: 17.3.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: "@eslint/eslintrc" dependency-version: 3.3.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: non-breaking - dependency-name: "@types/node" dependency-version: 25.3.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.56.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: "@typescript-eslint/parser" dependency-version: 8.56.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: eslint-plugin-n dependency-version: 17.24.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: globals dependency-version: 17.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump roborazzi from 1.57.0 to 1.58.0 Bumps `roborazzi` from 1.57.0 to 1.58.0. Updates `io.github.takahirom.roborazzi:roborazzi` from 1.57.0 to 1.58.0 - [Release notes](https://github.com/takahirom/roborazzi/releases) - [Commits](https://github.com/takahirom/roborazzi/compare/1.57.0...1.58.0) Updates `io.github.takahirom.roborazzi:roborazzi-junit-rule` from 1.57.0 to 1.58.0 - [Release notes](https://github.com/takahirom/roborazzi/releases) - [Commits](https://github.com/takahirom/roborazzi/compare/1.57.0...1.58.0) Updates `io.github.takahirom.roborazzi` from 1.57.0 to 1.58.0 - [Release notes](https://github.com/takahirom/roborazzi/releases) - [Commits](https://github.com/takahirom/roborazzi/compare/1.57.0...1.58.0) --- updated-dependencies: - dependency-name: io.github.takahirom.roborazzi:roborazzi dependency-version: 1.58.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.github.takahirom.roborazzi:roborazzi-junit-rule dependency-version: 1.58.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.github.takahirom.roborazzi dependency-version: 1.58.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump the non-breaking group Bumps the non-breaking group in /tools/localization with 5 updates: # fixed conflict in axios: 1.13.5 was in `main` | Package | From | To | | --- | --- | --- | | [axios](https://github.com/axios/axios) | `1.13.3` | `1.13.4` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.0.10` | `25.2.0` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.53.1` | `8.54.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.53.1` | `8.54.0` | | [globals](https://github.com/sindresorhus/globals) | `17.1.0` | `17.3.0` | Updates `axios` from 1.13.3 to 1.13.4 - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.13.3...v1.13.4) Updates `@types/node` from 25.0.10 to 25.2.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.53.1 to 8.54.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.54.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.53.1 to 8.54.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.54.0/packages/parser) Updates `globals` from 17.1.0 to 17.3.0 - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](sindresorhus/globals@v17.1.0...v17.3.0) --- updated-dependencies: - dependency-name: axios dependency-version: 1.13.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-breaking - dependency-name: "@types/node" dependency-version: 25.2.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.54.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: "@typescript-eslint/parser" dependency-version: 8.54.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: globals dependency-version: 17.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump gradle-wrapper from 9.3.0 to 9.3.1 Bumps gradle-wrapper from 9.3.0 to 9.3.1. --- updated-dependencies: - dependency-name: gradle-wrapper dependency-version: 9.3.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 4.33.4 to 4.33.5. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-version: 4.33.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump androidx.activity:activity from 1.12.2 to 1.12.3 Bumps androidx.activity:activity from 1.12.2 to 1.12.3. --- updated-dependencies: - dependency-name: androidx.activity:activity dependency-version: 1.12.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump androidxWork from 2.11.0 to 2.11.1 Bumps `androidxWork` from 2.11.0 to 2.11.1. Updates `androidx.work:work-runtime-ktx` from 2.11.0 to 2.11.1 Updates `androidx.work:work-testing` from 2.11.0 to 2.11.1 --- updated-dependencies: - dependency-name: androidx.work:work-runtime-ktx dependency-version: 2.11.1 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.work:work-testing dependency-version: 2.11.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump org.mockito.kotlin:mockito-kotlin from 6.2.2 to 6.2.3 Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 6.2.2 to 6.2.3. - [Release notes](https://github.com/mockito/mockito-kotlin/releases) - [Commits](https://github.com/mockito/mockito-kotlin/compare/v6.2.2...v6.2.3) --- updated-dependencies: - dependency-name: org.mockito.kotlin:mockito-kotlin dependency-version: 6.2.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump io.mockk:mockk from 1.14.7 to 1.14.9 Bumps [io.mockk:mockk](https://github.com/mockk/mockk) from 1.14.7 to 1.14.9. - [Release notes](https://github.com/mockk/mockk/releases) - [Commits](https://github.com/mockk/mockk/compare/1.14.7...1.14.9) --- updated-dependencies: - dependency-name: io.mockk:mockk dependency-version: 1.14.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump androidxMedia3 from 1.9.0 to 1.9.1 Bumps `androidxMedia3` from 1.9.0 to 1.9.1. Updates `androidx.media3:media3-ui` from 1.9.0 to 1.9.1 - [Release notes](https://github.com/androidx/media/releases) - [Changelog](https://github.com/androidx/media/blob/release/RELEASENOTES.md) - [Commits](https://github.com/androidx/media/compare/1.9.0...1.9.1) Updates `androidx.media3:media3-exoplayer-dash` from 1.9.0 to 1.9.1 - [Release notes](https://github.com/androidx/media/releases) - [Changelog](https://github.com/androidx/media/blob/release/RELEASENOTES.md) - [Commits](https://github.com/androidx/media/compare/1.9.0...1.9.1) Updates `androidx.media3:media3-exoplayer` from 1.9.0 to 1.9.1 - [Release notes](https://github.com/androidx/media/releases) - [Changelog](https://github.com/androidx/media/blob/release/RELEASENOTES.md) - [Commits](https://github.com/androidx/media/compare/1.9.0...1.9.1) --- updated-dependencies: - dependency-name: androidx.media3:media3-ui dependency-version: 1.9.1 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.media3:media3-exoplayer-dash dependency-version: 1.9.1 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.media3:media3-exoplayer dependency-version: 1.9.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump the non-breaking group Bumps the non-breaking group in /tools/localization with 6 updates: # fixed conflict in axios: 1.13.5 was in `main` | Package | From | To | | --- | --- | --- | | [axios](https://github.com/axios/axios) | `1.13.2` | `1.13.3` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.0.9` | `25.0.10` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.53.0` | `8.53.1` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.53.0` | `8.53.1` | | [globals](https://github.com/sindresorhus/globals) | `17.0.0` | `17.1.0` | | [prettier](https://github.com/prettier/prettier) | `3.8.0` | `3.8.1` | Updates `axios` from 1.13.2 to 1.13.3 - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.13.2...v1.13.3) Updates `@types/node` from 25.0.9 to 25.0.10 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.53.0 to 8.53.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.53.1/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.53.0 to 8.53.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.53.1/packages/parser) Updates `globals` from 17.0.0 to 17.1.0 - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](sindresorhus/globals@v17.0.0...v17.1.0) Updates `prettier` from 3.8.0 to 3.8.1 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.8.0...3.8.1) --- updated-dependencies: - dependency-name: axios dependency-version: 1.13.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-breaking - dependency-name: "@types/node" dependency-version: 25.0.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: non-breaking - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.53.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: non-breaking - dependency-name: "@typescript-eslint/parser" dependency-version: 8.53.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: non-breaking - dependency-name: globals dependency-version: 17.1.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: prettier dependency-version: 3.8.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: non-breaking ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump roborazzi from 1.56.0 to 1.57.0 Bumps `roborazzi` from 1.56.0 to 1.57.0. Updates `io.github.takahirom.roborazzi:roborazzi` from 1.56.0 to 1.57.0 - [Release notes](https://github.com/takahirom/roborazzi/releases) - [Commits](https://github.com/takahirom/roborazzi/compare/1.56.0...1.57.0) Updates `io.github.takahirom.roborazzi:roborazzi-junit-rule` from 1.56.0 to 1.57.0 - [Release notes](https://github.com/takahirom/roborazzi/releases) - [Commits](https://github.com/takahirom/roborazzi/compare/1.56.0...1.57.0) Updates `io.github.takahirom.roborazzi` from 1.56.0 to 1.57.0 - [Release notes](https://github.com/takahirom/roborazzi/releases) - [Commits](https://github.com/takahirom/roborazzi/compare/1.56.0...1.57.0) --- updated-dependencies: - dependency-name: io.github.takahirom.roborazzi:roborazzi dependency-version: 1.57.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.github.takahirom.roborazzi:roborazzi-junit-rule dependency-version: 1.57.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.github.takahirom.roborazzi dependency-version: 1.57.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump org.jetbrains.kotlinx:kotlinx-serialization-json Bumps [org.jetbrains.kotlinx:kotlinx-serialization-json](https://github.com/Kotlin/kotlinx.serialization) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases) - [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md) - [Commits](https://github.com/Kotlin/kotlinx.serialization/compare/v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-json dependency-version: 1.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump org.mockito.kotlin:mockito-kotlin from 6.2.1 to 6.2.2 Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 6.2.1 to 6.2.2. - [Release notes](https://github.com/mockito/mockito-kotlin/releases) - [Commits](https://github.com/mockito/mockito-kotlin/compare/v6.2.1...v6.2.2) --- updated-dependencies: - dependency-name: org.mockito.kotlin:mockito-kotlin dependency-version: 6.2.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump org.robolectric:robolectric from 4.16 to 4.16.1 Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.16 to 4.16.1. - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.16...robolectric-4.16.1) --- updated-dependencies: - dependency-name: org.robolectric:robolectric dependency-version: 4.16.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
188 lines
7.4 KiB
YAML
188 lines
7.4 KiB
YAML
name: 🛠️ Unit Tests
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
iterations:
|
|
description: "Number of iterations on each chosen operating system. Default 1. Max 85."
|
|
required: true
|
|
default: 1
|
|
type: number
|
|
operatingSystems:
|
|
description: "Which operating systems to run tests on"
|
|
required: true
|
|
type: choice
|
|
# If you alter system names in default + options here, also alter osArray below to match
|
|
default: '["windows-latest", "macos-14", "ubuntu-latest"]'
|
|
options:
|
|
- '["windows-latest", "macos-14", "ubuntu-latest"]'
|
|
- '["windows-latest"]'
|
|
- '["macos-14"]'
|
|
- '["ubuntu-latest"]'
|
|
schedule:
|
|
- cron: "42 0 * * 2"
|
|
pull_request:
|
|
push:
|
|
# Ignore merge queue branches on push; avoids merge_group+push concurrency race since ref is same
|
|
branches-ignore:
|
|
- 'gh-readonly-queue/**'
|
|
merge_group:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
# if a workflow is run against the same ref, only one at a time...
|
|
# ...but allow different triggers to run concurrent (push, manual flake run, scheduled flake run...)
|
|
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
# We want to generate our matrix dynamically
|
|
# Initial job generates the matrix as a JSON, and following job will use deserialize and use the result
|
|
matrix_prep:
|
|
# Do not run the scheduled jobs on forks
|
|
if: (github.event_name == 'schedule' && github.repository == 'ankidroid/Anki-Android') || (github.event_name != 'schedule')
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
matrix: ${{ steps.build-matrix.outputs.result }}
|
|
steps:
|
|
- id: build-matrix
|
|
uses: actions/github-script@v8
|
|
with:
|
|
script: |
|
|
// by default, we will include all 3 platforms we test on
|
|
// "latest" would be easy everywhere, but "macos-14" doesn't always happen if you choose "latest"
|
|
// and we want macos-14 because it has Apple Silicon and is faster
|
|
// if you alter this, also alter it above in the workflow_dispatch options list
|
|
let osArray = ["ubuntu-latest", "macos-14", "windows-latest"]
|
|
|
|
// by default, we will run one iteration on each selected system
|
|
let iterationArray = [1]
|
|
|
|
// workflow dispatch will be a drop-down of different options
|
|
if (context.eventName === "workflow_dispatch") {
|
|
const inputs = ${{ toJSON(inputs) }}
|
|
osArray = JSON.parse(inputs['operatingSystems'])
|
|
console.log('inputs is: ' + JSON.stringify(inputs))
|
|
console.log('osArray is: ' + osArray)
|
|
|
|
const iterationInput = inputs.iterations
|
|
console.log('iterations input is: ' + iterationInput)
|
|
// this will expand for example with input 5 => [1, 2, 3, 4, 5]
|
|
iterationArray = []
|
|
for (let i = 1; i <= iterationInput; i++) {
|
|
iterationArray.push(i);
|
|
}
|
|
console.log('iterationArray is: ' + iterationArray)
|
|
}
|
|
|
|
// If we are running on a schedule it's our periodic passive scan for flakes
|
|
// Goal is to run enough iterations on all systems that we have confidence there are no flakes
|
|
if (context.eventName === "schedule") {
|
|
const iterationCount = 15
|
|
for (let i = 1; i <= iterationCount; i++) {
|
|
iterationArray.push(i);
|
|
}
|
|
}
|
|
|
|
let includeArray = [];
|
|
for(const os of osArray) {
|
|
// we do this work to define 'name' so we don't need to update branch protection rules
|
|
// if the os changes, the name is used in the expanded workflow run name, which is then
|
|
// used as a "required check" on branch protection merge rules, this keeps it stable
|
|
// even if "macos-14" changes to "macos-15" in the future so we just change the list here
|
|
// but don't have to go into organization settings / protection rules etc etc
|
|
includeArray.push({"os": os, "name": os.split('-')[0]});
|
|
}
|
|
return {
|
|
"os": osArray,
|
|
"include": includeArray,
|
|
"iteration": iterationArray
|
|
}
|
|
- name: Debug Output
|
|
run: echo "${{ steps.build-matrix.outputs.result }}"
|
|
|
|
# This uses the matrix generated from the matrix-prep stage
|
|
# it will run unit tests on whatever OS combinations are desired
|
|
unit:
|
|
name: JUnit Tests (${{ matrix.name }} run ${{ matrix.iteration }})
|
|
# Do not run the scheduled jobs on forks
|
|
if: (github.event_name == 'schedule' && github.repository == 'ankidroid/Anki-Android') || (github.event_name != 'schedule')
|
|
needs: matrix_prep
|
|
timeout-minutes: 35
|
|
env:
|
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix: ${{fromJson(needs.matrix_prep.outputs.matrix)}}
|
|
runs-on: ${{ matrix.os }}
|
|
#env:
|
|
# CODACY_TOKEN: ${{ secrets.CODACY_TOKEN }}
|
|
steps:
|
|
- name: Configure Windows Pagefile
|
|
uses: al-cheb/configure-pagefile-action@v1.5
|
|
if: contains(matrix.os, 'windows')
|
|
with:
|
|
minimum-size: 8GB
|
|
maximum-size: 12GB
|
|
disk-root: "C:"
|
|
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 50
|
|
|
|
- name: Configure JDK
|
|
uses: actions/setup-java@v5
|
|
with:
|
|
distribution: "temurin"
|
|
java-version: "21" # also change jitpack.yml
|
|
|
|
- name: Setup Gradle
|
|
uses: gradle/actions/setup-gradle@v5
|
|
timeout-minutes: 10
|
|
with:
|
|
# Only write to the cache for builds on the 'main' branches, stops branches evicting main cache
|
|
# Builds on other branches will only read from main branch cache writes
|
|
# Comment this and the with: above out for performance testing on a branch
|
|
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
|
|
|
|
- name: Gradle Dependency Download
|
|
uses: nick-invision/retry@v3
|
|
with:
|
|
timeout_minutes: 10
|
|
retry_wait_seconds: 60
|
|
max_attempts: 3
|
|
command: ./gradlew robolectricSdkDownload --daemon
|
|
|
|
# update workflows/README.md when modifying this step
|
|
- name: Run Unit Tests
|
|
run: ./gradlew jacocoUnitTestReport --daemon
|
|
|
|
- name: Store Logcat as Artifact
|
|
# cancelled() handles test timeouts
|
|
# remove when test timeouts cause a failure()
|
|
if: failure() || cancelled()
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: logcat-${{ matrix.name }}-${{ matrix.iteration }}
|
|
# look for the `<system-out>` element in the XML files in `test-results`
|
|
# The folder contains far too much data:
|
|
# * .bin files
|
|
# * XML rather than TXT
|
|
# * Files are mostly JaCoCo issues logged to stderr (#16180)
|
|
# * All tests are logged, rather than just failures
|
|
# despite this, it's a great start
|
|
# look to see if there's a dependency we can use, arther than improving this
|
|
path: |
|
|
**/build/test-results/
|
|
|
|
- name: Stop Gradle
|
|
if: contains(matrix.os, 'windows')
|
|
run: ./gradlew --stop
|
|
|
|
- uses: codecov/codecov-action@v5
|
|
with:
|
|
verbose: true
|
|
fail_ci_if_error: ${{ github.repository == 'ankidroid/Anki-Android' }} # optional (default = false)
|