Move to Forgejo as pipeline #noissue #41

Merged
Varakh merged 2 commits from feature/move-to-forgejo into develop 2023-08-15 19:54:47 +00:00
3 changed files with 33 additions and 21 deletions
Showing only changes of commit 769dd7e513 - Show all commits

View file

@ -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

View file

@ -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

View file

@ -9,5 +9,17 @@
], ],
"ignoreDeps": [ "ignoreDeps": [
"intl" "intl"
],
"packageRules": [
{
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"patch"
],
"groupName": "all patch dependencies",
"groupSlug": "all-patch-deps"
}
] ]
} }