Compare commits
No commits in common. "6d302c4392c30913b5927733409df126706828f6" and "a3ee146e259ce2c0fab28ba13aa2e5d2c9774162" have entirely different histories.
6d302c4392
...
a3ee146e25
3 changed files with 21 additions and 34 deletions
21
.drone.yml
Normal file
21
.drone.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
---
|
||||||
|
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
|
|
@ -1,21 +0,0 @@
|
||||||
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
|
|
|
@ -3,24 +3,11 @@
|
||||||
"extends": [
|
"extends": [
|
||||||
"config:recommended", ":rebaseStalePrs", ":ignoreUnstable", "group:monorepos", "group:recommended"
|
"config:recommended", ":rebaseStalePrs", ":ignoreUnstable", "group:monorepos", "group:recommended"
|
||||||
],
|
],
|
||||||
"prConcurrentLimit": 0,
|
|
||||||
"ignorePaths": [
|
"ignorePaths": [
|
||||||
"android/**",
|
"android/**",
|
||||||
"ios/**"
|
"ios/**"
|
||||||
],
|
],
|
||||||
"ignoreDeps": [
|
"ignoreDeps": [
|
||||||
"intl"
|
"intl"
|
||||||
],
|
|
||||||
"packageRules": [
|
|
||||||
{
|
|
||||||
"matchPackagePatterns": [
|
|
||||||
"*"
|
|
||||||
],
|
|
||||||
"matchUpdateTypes": [
|
|
||||||
"patch"
|
|
||||||
],
|
|
||||||
"groupName": "all patch dependencies",
|
|
||||||
"groupSlug": "all-patch-deps"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue