Skip to content

Commit

Permalink
Update mockk to v1.13.8 (#141)
Browse files Browse the repository at this point in the history
* Update mockk to v1.13.8

* Add auto-approve worker and bump compile sdk

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Maxwell Mapako <wax911@users.noreply.github.com>
  • Loading branch information
renovate[bot] and wax911 authored Oct 22, 2023
1 parent e7dc26f commit c7ae95e
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/android-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
paths-ignore:
- "app/src/main/**"

permissions:
checks: write

jobs:
unit:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -59,4 +62,4 @@ jobs:
uses: mikepenz/action-junit-report@v4
if: always() # always run even if the previous step fails
with:
report_paths: '**/build/test-results/**/TEST-*.xml'
report_paths: '**/build/androidTest-results/**/TEST-*.xml'
24 changes: 24 additions & 0 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: auto-approve

on:
pull_request_target:
types:
- opened
- synchronize
workflow_dispatch:
inputs:
pullRequestNumber:
description: Pull request number to auto-approve
required: false

jobs:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.actor == 'renovate[bot]' || github.event_name == 'workflow_dispatch'
steps:
- uses: hmarr/auto-approve-action@v3
with:
review-message: "Auto approved automated PR"
pull-request-number: ${{ github.event.inputs.pullRequestNumber }}
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ private fun DefaultConfig.applyAdditionalConfiguration(project: Project) {
}

internal fun Project.configureAndroid(): Unit = baseExtension().run {
compileSdkVersion(33)
compileSdkVersion(34)
defaultConfig {
minSdk = 23
targetSdk = 33
targetSdk = 34
versionCode = props[PropertyTypes.CODE].toInt()
versionName = props[PropertyTypes.VERSION]
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jetbrains-kotlinx-coroutines = "1.7.3"
jetbrains-kotlinx-datetime = "0.4.1"
jetbrains-kotlinx-serialization = "1.6.0"

mockk = "1.13.7"
mockk = "1.13.8"


[plugins]
Expand Down

0 comments on commit c7ae95e

Please sign in to comment.