From 769dd7e5132d1fead5f40ccbc5928dd4c6d79b5e Mon Sep 17 00:00:00 2001 From: Varakh Date: Tue, 15 Aug 2023 08:55:13 +0200 Subject: [PATCH] Move to Forgejo as pipeline and configure Renovate to update all patch dependencies in one PR #noissue --- .drone.yml | 21 --------------------- .forgejo/workflows/build.yaml | 21 +++++++++++++++++++++ renovate.json | 12 ++++++++++++ 3 files changed, 33 insertions(+), 21 deletions(-) delete mode 100644 .drone.yml create mode 100644 .forgejo/workflows/build.yaml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index a06a76c..0000000 --- a/.drone.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -kind: pipeline -type: docker -name: build - -trigger: - event: - include: - - push - - pull_request - -steps: - - name: build - image: ghcr.io/cirruslabs/flutter:3.10.6 - commands: - - flutter doctor - - flutter pub get - - flutter pub outdated - - flutter packages pub run build_runner build --delete-conflicting-outputs - - flutter analyze --no-pub --no-current-package lib/ - - flutter build apk --debug diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..cfe4447 --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,21 @@ +on: [ push ] +jobs: + build: + runs-on: docker + container: + image: ghcr.io/cirruslabs/flutter:3.10.6 + steps: + - name: Prepare requirements + run: | + apt-get update + apt-get install -y nodejs npm git + rm -rf /var/lib/apt/lists/* + - uses: actions/checkout@v3 + - name: Build + run: | + flutter doctor + flutter pub get + flutter pub outdated + flutter packages pub run build_runner build --delete-conflicting-outputs + flutter analyze --no-pub --no-current-package lib/ + flutter build apk --debug diff --git a/renovate.json b/renovate.json index 406ff41..f1b61fb 100644 --- a/renovate.json +++ b/renovate.json @@ -9,5 +9,17 @@ ], "ignoreDeps": [ "intl" + ], + "packageRules": [ + { + "matchPackagePatterns": [ + "*" + ], + "matchUpdateTypes": [ + "patch" + ], + "groupName": "all patch dependencies", + "groupSlug": "all-patch-deps" + } ] }