From fce8a514b84d0e30070a4e7be875b0916281a496 Mon Sep 17 00:00:00 2001 From: EvadeMaster <93124920+EvadeMaster@users.noreply.github.com> Date: Tue, 28 Mar 2023 14:39:20 +0700 Subject: [PATCH 1/6] ci: dart analyser --- .github/workflows/analyser.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/analyser.yml diff --git a/.github/workflows/analyser.yml b/.github/workflows/analyser.yml new file mode 100644 index 0000000000..2492af4350 --- /dev/null +++ b/.github/workflows/analyser.yml @@ -0,0 +1,28 @@ +name: 🤖 Analyse Task Force + +on: + push: + branches: [ "dev" ] + pull_request: + branches: [ "dev" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Setup Flutter + uses: subosito/flutter-action@v2 + with: + channel: 'stable' + cache: true + - name: Install Flutter dependencies + run: flutter pub get + - name: Generate files with Builder + run: flutter packages pub run build_runner build --delete-conflicting-outputs + - name: Dart Analyze + uses: ValentinVignal/action-dart-analyze@v0.15 + with: + fail-on: warning \ No newline at end of file From 2674b0fb34e18ff2665059a64e992f1ea7ae8077 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 28 Mar 2023 14:45:12 +0700 Subject: [PATCH 2/6] Add renovate.json (#15) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- renovate.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000000..39a2b6e9a5 --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ] +} From 1056a0a4e440ebd324c5be0dbc06284df687fb0a Mon Sep 17 00:00:00 2001 From: EvadeMaster <93124920+EvadeMaster@users.noreply.github.com> Date: Fri, 31 Mar 2023 01:51:06 +0700 Subject: [PATCH 3/6] ci: renovate automerge (minor, lockfile-maintenance) --- renovate.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 39a2b6e9a5..5c9fb914c2 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,18 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "forkProcessing": "enabled", "extends": [ "config:base" - ] + ], + "packageRules": [ + { + "matchUpdateTypes": ["minor", "patch"], + "matchCurrentVersion": "!/^0/", + "automerge": true + } + ], + "lockFileMaintenance": { + "enabled": true, + "automerge": true + } } From d756548558f739889896d96c5242bbb225cdbabd Mon Sep 17 00:00:00 2001 From: EvadeMaster <93124920+EvadeMaster@users.noreply.github.com> Date: Fri, 31 Mar 2023 01:59:19 +0700 Subject: [PATCH 4/6] Compile Task Force --- .github/workflows/compile.yml | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/compile.yml diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml new file mode 100644 index 0000000000..6f4909e6f4 --- /dev/null +++ b/.github/workflows/compile.yml @@ -0,0 +1,43 @@ +name: 🤖 Compile Task Force + +on: + workflow_dispatch: + pull_request: + push: + +jobs: + build: + name: 🤖 Compile Task Force + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + # Make sure the release step uses its own credentials: + # https://github.com/cycjimmy/semantic-release-action#private-packages + persist-credentials: false + fetch-depth: 0 + - name: Setup JDK + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'zulu' + cache: 'gradle' + - name: Setup Flutter + uses: subosito/flutter-action@v2 + with: + channel: 'stable' + cache: true + - name: Install Flutter dependencies + run: flutter pub get + - name: Generate files with Builder + run: flutter packages pub run build_runner build --delete-conflicting-outputs + - name: Build with Flutter + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: flutter build apk + - name: Upload build + uses: actions/upload-artifact@v3 + with: + name: revanced-manager + path: build/app/outputs/flutter-apk/app-release.apk From db2835e7a7a2c53213e587102032790eaa78e0aa Mon Sep 17 00:00:00 2001 From: EvadeMaster <93124920+EvadeMaster@users.noreply.github.com> Date: Fri, 31 Mar 2023 02:11:35 +0700 Subject: [PATCH 5/6] ci: optimise workflow --- .github/workflows/compile.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 6f4909e6f4..dbda47aafe 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -3,7 +3,6 @@ name: 🤖 Compile Task Force on: workflow_dispatch: pull_request: - push: jobs: build: From 82f0bd61e15235da0079008a4b351e2712c9b76e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 30 Mar 2023 19:15:03 +0000 Subject: [PATCH 6/6] fix(deps): update kotlin monorepo to v1.8.20 --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 2d13b78c77..59c29b1f8a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,6 +1,6 @@ buildscript { ext.cronetVersion = '102.5005.125' - ext.kotlin_version = '1.7.10' + ext.kotlin_version = '1.8.20' repositories { google() mavenCentral()