From 8fa4e33bdafc8b0bafcb0f28f38223b450c577d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A4=CE=BF=20=CE=BC=CE=BF=CF=87=CE=B8=CE=B7=CF=81=CF=8C?= =?UTF-8?q?=20=5E=5F=5E?= <69906215+Malus-risus@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:52:50 +0800 Subject: [PATCH] Update dependency (#174) * Add renovate.json * fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-coroutines-android to v1.7.3 * chore(deps): update dependency gradle to v7.6.3 * chore(deps): update devofure/advance-android-version-actions action to v1.5 * chore(deps): update mikepenz/release-changelog-builder-action action to v3.7.3 * chore(deps): update actions/upload-artifact action to v4 * chore(deps): update mikepenz/release-changelog-builder-action action to v4 * chore(deps): update actions/setup-go action to v5 * chore(deps): update actions/setup-java action to v4 * chore(deps): update actions/cache action to v4 * chore(deps): update actions/checkout action to v4 * chore(deps): update tibdex/github-app-token action to v2 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/build-debug.yaml | 18 +++++++++--------- .github/workflows/build-pre-release.yaml | 10 +++++----- .github/workflows/build-release.yaml | 12 ++++++------ .github/workflows/update-dependencies.yaml | 10 +++++----- gradle/wrapper/gradle-wrapper.properties | 4 ++-- renovate.json | 6 ++++++ settings.gradle.kts | 2 +- 7 files changed, 34 insertions(+), 28 deletions(-) create mode 100644 renovate.json diff --git a/.github/workflows/build-debug.yaml b/.github/workflows/build-debug.yaml index f51bad7c..c7b275fd 100644 --- a/.github/workflows/build-debug.yaml +++ b/.github/workflows/build-debug.yaml @@ -9,23 +9,23 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout submodules run: git submodule update --init --recursive --remote --force - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 17 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.20" - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -56,7 +56,7 @@ jobs: - name: Upload Aritfact (universal) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ success() }} with: name: CMFA Debug Unsigned APK (universal) @@ -64,7 +64,7 @@ jobs: app/build/outputs/apk/meta-alpha/release/*-universal-*.apk - name: Upload Aritfact (arm64-v8a) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ success() }} with: name: CMFA Debug Unsigned APK (arm64-v8a) @@ -72,7 +72,7 @@ jobs: app/build/outputs/apk/meta-alpha/release/*-arm64-v8a-*.apk - name: Upload Aritfact (armeabi-v7a) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ success() }} with: name: CMFA Debug Unsigned APK (armeabi-v7a) @@ -80,7 +80,7 @@ jobs: app/build/outputs/apk/meta-alpha/release/*-armeabi-v7a-*.apk - name: Upload Aritfact (x86_64) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ success() }} with: name: CMFA Debug Unsigned APK (x86_64) @@ -88,7 +88,7 @@ jobs: app/build/outputs/apk/meta-alpha/release/*-x86_64-*.apk - name: Upload Aritfact (x86) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ success() }} with: name: CMFA Debug Unsigned APK (x86) diff --git a/.github/workflows/build-pre-release.yaml b/.github/workflows/build-pre-release.yaml index e6478561..da182de5 100644 --- a/.github/workflows/build-pre-release.yaml +++ b/.github/workflows/build-pre-release.yaml @@ -7,23 +7,23 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout submodules run: git submodule update --init --recursive --remote --force - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 17 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.20" - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -76,4 +76,4 @@ jobs: generate_release_notes: true - name: Release Changelog Builder - uses: mikepenz/release-changelog-builder-action@v3.6.0 + uses: mikepenz/release-changelog-builder-action@v4.1.1 diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 7c78e34f..42e54639 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -20,17 +20,17 @@ jobs: run: git submodule update --init --recursive --remote - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 17 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.20" - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -52,7 +52,7 @@ jobs: # Re-write version in build.gradle.kts - name: Re-write version - uses: Devofure/advance-android-version-actions@v1.4 + uses: Devofure/advance-android-version-actions@v1.5 with: gradlePath: build.gradle.kts versionCode: ${{ steps.process-version.outputs.versonCode }} @@ -110,7 +110,7 @@ jobs: generate_release_notes: true - name: Release Changelog Builder - uses: mikepenz/release-changelog-builder-action@v3.6.0 + uses: mikepenz/release-changelog-builder-action@v4.1.1 with: configurationJson: | { diff --git a/.github/workflows/update-dependencies.yaml b/.github/workflows/update-dependencies.yaml index f9255be3..1e29648e 100644 --- a/.github/workflows/update-dependencies.yaml +++ b/.github/workflows/update-dependencies.yaml @@ -10,23 +10,23 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout submodules run: git submodule update --init --recursive --remote --force - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 17 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.20" - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -49,7 +49,7 @@ jobs: cd ${{ github.workspace }}/core/src/main/golang/native/ go mod tidy - - uses: tibdex/github-app-token@v1 + - uses: tibdex/github-app-token@v2 id: generate-token with: app_id: ${{ secrets.MAINTAINER_APPID }} diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d13404f5..fb7f308b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionSha256Sum=e6d864e3b5bc05cc62041842b306383fc1fefcec359e70cebb1d470a6094ca82 \ No newline at end of file +distributionSha256Sum=6001aba9b2204d26fa25a5800bb9382cf3ee01ccb78fe77317b2872336eb2f80 \ No newline at end of file diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..5db72dd6 --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ] +} diff --git a/settings.gradle.kts b/settings.gradle.kts index 4fbcc410..47733250 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -22,7 +22,7 @@ dependencyResolutionManagement { val kotlin = "1.7.0" val ksp = "$kotlin-1.0.6" val golang = "1.0.4" - val coroutine = "1.6.3" + val coroutine = "1.7.3" val coreKtx = "1.8.0" val activity = "1.5.0" val fragment = "1.5.0"