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>
This commit is contained in:
Το μοχθηρό ^_^ 2024-01-18 16:52:50 +08:00 committed by Larvan2
parent 1b5ce606e4
commit 8fa4e33bda
7 changed files with 34 additions and 28 deletions

View File

@ -9,23 +9,23 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Checkout submodules - name: Checkout submodules
run: git submodule update --init --recursive --remote --force run: git submodule update --init --recursive --remote --force
- name: Setup Java - name: Setup Java
uses: actions/setup-java@v3 uses: actions/setup-java@v4
with: with:
distribution: 'zulu' distribution: 'zulu'
java-version: 17 java-version: 17
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v3 uses: actions/setup-go@v5
with: with:
go-version: "1.20" go-version: "1.20"
- uses: actions/cache@v3 - uses: actions/cache@v4
with: with:
path: | path: |
~/.cache/go-build ~/.cache/go-build
@ -56,7 +56,7 @@ jobs:
- name: Upload Aritfact (universal) - name: Upload Aritfact (universal)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
if: ${{ success() }} if: ${{ success() }}
with: with:
name: CMFA Debug Unsigned APK (universal) name: CMFA Debug Unsigned APK (universal)
@ -64,7 +64,7 @@ jobs:
app/build/outputs/apk/meta-alpha/release/*-universal-*.apk app/build/outputs/apk/meta-alpha/release/*-universal-*.apk
- name: Upload Aritfact (arm64-v8a) - name: Upload Aritfact (arm64-v8a)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
if: ${{ success() }} if: ${{ success() }}
with: with:
name: CMFA Debug Unsigned APK (arm64-v8a) name: CMFA Debug Unsigned APK (arm64-v8a)
@ -72,7 +72,7 @@ jobs:
app/build/outputs/apk/meta-alpha/release/*-arm64-v8a-*.apk app/build/outputs/apk/meta-alpha/release/*-arm64-v8a-*.apk
- name: Upload Aritfact (armeabi-v7a) - name: Upload Aritfact (armeabi-v7a)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
if: ${{ success() }} if: ${{ success() }}
with: with:
name: CMFA Debug Unsigned APK (armeabi-v7a) name: CMFA Debug Unsigned APK (armeabi-v7a)
@ -80,7 +80,7 @@ jobs:
app/build/outputs/apk/meta-alpha/release/*-armeabi-v7a-*.apk app/build/outputs/apk/meta-alpha/release/*-armeabi-v7a-*.apk
- name: Upload Aritfact (x86_64) - name: Upload Aritfact (x86_64)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
if: ${{ success() }} if: ${{ success() }}
with: with:
name: CMFA Debug Unsigned APK (x86_64) name: CMFA Debug Unsigned APK (x86_64)
@ -88,7 +88,7 @@ jobs:
app/build/outputs/apk/meta-alpha/release/*-x86_64-*.apk app/build/outputs/apk/meta-alpha/release/*-x86_64-*.apk
- name: Upload Aritfact (x86) - name: Upload Aritfact (x86)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
if: ${{ success() }} if: ${{ success() }}
with: with:
name: CMFA Debug Unsigned APK (x86) name: CMFA Debug Unsigned APK (x86)

View File

@ -7,23 +7,23 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Checkout submodules - name: Checkout submodules
run: git submodule update --init --recursive --remote --force run: git submodule update --init --recursive --remote --force
- name: Setup Java - name: Setup Java
uses: actions/setup-java@v3 uses: actions/setup-java@v4
with: with:
distribution: 'zulu' distribution: 'zulu'
java-version: 17 java-version: 17
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v3 uses: actions/setup-go@v5
with: with:
go-version: "1.20" go-version: "1.20"
- uses: actions/cache@v3 - uses: actions/cache@v4
with: with:
path: | path: |
~/.cache/go-build ~/.cache/go-build
@ -76,4 +76,4 @@ jobs:
generate_release_notes: true generate_release_notes: true
- name: Release Changelog Builder - name: Release Changelog Builder
uses: mikepenz/release-changelog-builder-action@v3.6.0 uses: mikepenz/release-changelog-builder-action@v4.1.1

View File

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
@ -20,17 +20,17 @@ jobs:
run: git submodule update --init --recursive --remote run: git submodule update --init --recursive --remote
- name: Setup Java - name: Setup Java
uses: actions/setup-java@v3 uses: actions/setup-java@v4
with: with:
distribution: 'zulu' distribution: 'zulu'
java-version: 17 java-version: 17
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v3 uses: actions/setup-go@v5
with: with:
go-version: "1.20" go-version: "1.20"
- uses: actions/cache@v3 - uses: actions/cache@v4
with: with:
path: | path: |
~/.cache/go-build ~/.cache/go-build
@ -52,7 +52,7 @@ jobs:
# Re-write version in build.gradle.kts # Re-write version in build.gradle.kts
- name: Re-write version - name: Re-write version
uses: Devofure/advance-android-version-actions@v1.4 uses: Devofure/advance-android-version-actions@v1.5
with: with:
gradlePath: build.gradle.kts gradlePath: build.gradle.kts
versionCode: ${{ steps.process-version.outputs.versonCode }} versionCode: ${{ steps.process-version.outputs.versonCode }}
@ -110,7 +110,7 @@ jobs:
generate_release_notes: true generate_release_notes: true
- name: Release Changelog Builder - name: Release Changelog Builder
uses: mikepenz/release-changelog-builder-action@v3.6.0 uses: mikepenz/release-changelog-builder-action@v4.1.1
with: with:
configurationJson: | configurationJson: |
{ {

View File

@ -10,23 +10,23 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Checkout submodules - name: Checkout submodules
run: git submodule update --init --recursive --remote --force run: git submodule update --init --recursive --remote --force
- name: Setup Java - name: Setup Java
uses: actions/setup-java@v3 uses: actions/setup-java@v4
with: with:
distribution: 'zulu' distribution: 'zulu'
java-version: 17 java-version: 17
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v3 uses: actions/setup-go@v5
with: with:
go-version: "1.20" go-version: "1.20"
- uses: actions/cache@v3 - uses: actions/cache@v4
with: with:
path: | path: |
~/.cache/go-build ~/.cache/go-build
@ -49,7 +49,7 @@ jobs:
cd ${{ github.workspace }}/core/src/main/golang/native/ cd ${{ github.workspace }}/core/src/main/golang/native/
go mod tidy go mod tidy
- uses: tibdex/github-app-token@v1 - uses: tibdex/github-app-token@v2
id: generate-token id: generate-token
with: with:
app_id: ${{ secrets.MAINTAINER_APPID }} app_id: ${{ secrets.MAINTAINER_APPID }}

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists 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 zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionSha256Sum=e6d864e3b5bc05cc62041842b306383fc1fefcec359e70cebb1d470a6094ca82 distributionSha256Sum=6001aba9b2204d26fa25a5800bb9382cf3ee01ccb78fe77317b2872336eb2f80

6
renovate.json Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}

View File

@ -22,7 +22,7 @@ dependencyResolutionManagement {
val kotlin = "1.7.0" val kotlin = "1.7.0"
val ksp = "$kotlin-1.0.6" val ksp = "$kotlin-1.0.6"
val golang = "1.0.4" val golang = "1.0.4"
val coroutine = "1.6.3" val coroutine = "1.7.3"
val coreKtx = "1.8.0" val coreKtx = "1.8.0"
val activity = "1.5.0" val activity = "1.5.0"
val fragment = "1.5.0" val fragment = "1.5.0"